X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/d800ec05ff63451193a0b858c114f5144534c2a1..f315832f75ce9f419a2942bc29fcaa737e8b2883:/main.c

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;