Make display_dispatch_with_timeout static

master
Kenny Levinsen 2020-09-13 03:23:12 +02:00
parent 4f8559405f
commit 4d339c70d2
1 changed files with 1 additions and 2 deletions

3
main.c
View File

@ -271,8 +271,7 @@ static int display_poll(struct wl_display *display, short int events, int timeou
return ret; return ret;
} }
int display_dispatch_with_timeout(struct wl_display *display, int timeout); static int display_dispatch_with_timeout(struct wl_display *display, int timeout) {
int display_dispatch_with_timeout(struct wl_display *display, int timeout) {
if (wl_display_prepare_read(display) == -1) { if (wl_display_prepare_read(display) == -1) {
return wl_display_dispatch_pending(display); return wl_display_dispatch_pending(display);
} }