From 3e75e800ad4901fd095a5eb33a9c02c28466d743 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Fri, 15 Apr 2016 19:38:09 +0200 Subject: [PATCH] Fix build warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit c543f596968a7 introduced the following warnings: objects/screen.c:307:1: warning: return type defaults to ‘int’ [-Wimplicit-int] objects/screen.c:307:1: warning: no previous prototype for ‘screen_scan_randr_monitors’ [-Wmissing-prototypes] Signed-off-by: Uli Schlachter --- objects/screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/objects/screen.c b/objects/screen.c index 1881556e4..dbee218a0 100644 --- a/objects/screen.c +++ b/objects/screen.c @@ -304,6 +304,7 @@ screen_scan_randr_monitors(void) return found; } #else +static bool screen_scan_randr_monitors(void) { return false;