# HG changeset patch # User meillo@marmaro.de # Date 1212179798 -7200 # Node ID 014c4cb1ae4a829b502726168d059abd4376fe1b # Parent 45f23169563eade62b1ff0173060bef2e8c17e9a removed some compiler warnings diff -r 45f23169563e -r 014c4cb1ae4a aewl.c --- a/aewl.c Fri May 30 22:18:18 2008 +0200 +++ b/aewl.c Fri May 30 22:36:38 2008 +0200 @@ -194,16 +194,16 @@ void restack(void); /* restores z layers of all clients */ -void toggleview(); /* toggle the viewed tag */ -void focusnext(); /* focuses next visible client */ -void zoom(); /* zooms the focused client to master area */ -void killclient(); /* kill c nicely */ -void quit(); /* quit dwm nicely */ -void togglemode(); /* toggles global arrange function (dotile/dofloat) */ -void togglefloat(); /* toggles focusesd client between floating/non-floating state */ -void incnmaster(); /* increments nmaster */ -void decnmaster(); /* decrements nmaster */ -void toggletag(); /* toggles c tag */ +void toggleview(void); /* toggle the viewed tag */ +void focusnext(void); /* focuses next visible client */ +void zoom(void); /* zooms the focused client to master area */ +void killclient(void); /* kill c nicely */ +void quit(void); /* quit dwm nicely */ +void togglemode(void); /* toggles global arrange function (dotile/dofloat) */ +void togglefloat(void); /* toggles focusesd client between floating/non-floating state */ +void incnmaster(void); /* increments nmaster */ +void decnmaster(void); /* decrements nmaster */ +void toggletag(void); /* toggles c tag */ void spawn(const char* cmd); /* forks a new subprocess with cmd */ @@ -753,8 +753,6 @@ static void buttonpress(XEvent *e) { - int x; - int i; Client *c; XButtonPressedEvent *ev = &e->xbutton;