From b826302efb800e952300fbb3b1c4a13cf165aa97 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 30 Aug 2011 11:32:47 +0200 Subject: [PATCH] Remove return type from wlsc_compositor_shutdown Fixes "control reaches end of non-void function" warning and is not needed (yet). --- compositor/compositor.c | 2 +- compositor/compositor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compositor/compositor.c b/compositor/compositor.c index 54962669..8d54a29f 100644 --- a/compositor/compositor.c +++ b/compositor/compositor.c @@ -2029,7 +2029,7 @@ wlsc_compositor_init(struct wlsc_compositor *ec, struct wl_display *display) return 0; } -WL_EXPORT int +WL_EXPORT void wlsc_compositor_shutdown(struct wlsc_compositor *ec) { struct wlsc_output *output; diff --git a/compositor/compositor.h b/compositor/compositor.h index 9f33a252..6df15da6 100644 --- a/compositor/compositor.h +++ b/compositor/compositor.h @@ -359,7 +359,7 @@ wlsc_compositor_get_time(void); int wlsc_compositor_init(struct wlsc_compositor *ec, struct wl_display *display); -int +void wlsc_compositor_shutdown(struct wlsc_compositor *ec); void wlsc_output_move(struct wlsc_output *output, int x, int y);