]> Skullheadx's Git Forge - dwm.git/commitdiff
Add missing void to updateclientlist definition
authorPontus Stenetorp <pontus@stenetorp.se>
Sat, 8 Jun 2024 10:36:15 +0000 (19:36 +0900)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 8 Jun 2024 16:21:00 +0000 (18:21 +0200)
Caught by -pedantic implying -Wstrict-prototypes for OpenBSD's 16.0.6 Clang.

dwm.c

diff --git a/dwm.c b/dwm.c
index f1d86b2c7a900c9380f6d5fc1424dad1bf2ddaf8..67c6b2bc6de494a0c9e9a63b77a75f8396081e6e 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -1851,7 +1851,7 @@ updatebarpos(Monitor *m)
 }
 
 void
-updateclientlist()
+updateclientlist(void)
 {
        Client *c;
        Monitor *m;