X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=main.c;h=7cd3a3271634ad495209eea40070d2f6b40bbc37;hp=b3c753e97e45f89777a3a6e5f75cc17728086a2b;hb=6b25d06d7d159bf89d740847fedc876ab0137b6b;hpb=cff951c65086950eeef5723b65dc06cbe7cdfa19 diff --git a/main.c b/main.c index b3c753e..7cd3a32 100644 --- a/main.c +++ b/main.c @@ -38,7 +38,7 @@ static int (*xerrorxlib)(Display *, XErrorEvent *); static Bool otherwm, readin; static void -cleanup() { +cleanup(void) { close(STDIN_FILENO); while(sel) { resize(sel, True, TopLeft); @@ -58,7 +58,7 @@ cleanup() { } static void -scan() { +scan(void) { unsigned int i, num; Window *wins, d1, d2; XWindowAttributes wa; @@ -79,7 +79,7 @@ scan() { } static void -setup() { +setup(void) { int i, j; unsigned int mask; Window w;