Fix build warning

Commit c543f59696 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 <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-04-15 19:38:09 +02:00
parent bf652914dd
commit 3e75e800ad
1 changed files with 1 additions and 0 deletions

View File

@ -304,6 +304,7 @@ screen_scan_randr_monitors(void)
return found; return found;
} }
#else #else
static bool
screen_scan_randr_monitors(void) screen_scan_randr_monitors(void)
{ {
return false; return false;