changeset 760:014c4cb1ae4a aewl-0.1

removed some compiler warnings
author meillo@marmaro.de
date Fri, 30 May 2008 22:36:38 +0200
parents 45f23169563e
children 59ce221b9a37
files aewl.c
diffstat 1 files changed, 10 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- 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;