From a9710cb73cc9ecadaff241428a39a26935cb5c0a Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 25 Feb 2021 20:45:10 +0100 Subject: Applied even more warning flags! Fixing all the warnings wasn't that easy actually.. --- apps/window.c | 2 +- apps/wm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/window.c b/apps/window.c index 96691fa..ac29ba1 100644 --- a/apps/window.c +++ b/apps/window.c @@ -4,7 +4,7 @@ #include #include -int main() +int main(void) { struct gui_window win = { 0 }; assert(gui_new_window(&win) > 0); diff --git a/apps/wm.c b/apps/wm.c index 6e80f5f..abbb2bd 100644 --- a/apps/wm.c +++ b/apps/wm.c @@ -53,7 +53,7 @@ static struct { u8 right : 1; } mouse = { 0 }; -static void buffer_flush() +static void buffer_flush(void) { #ifdef FLUSH_TIMEOUT static u32 time_flush = 0; -- cgit v1.2.3