diff -r e50c3eb0f55a dwm.c --- a/dwm.c Thu Oct 11 20:50:01 2007 +0200 +++ b/dwm.c Fri Oct 12 09:48:30 2007 +0200 @@ -140,7 +140,6 @@ void mappingnotify(XEvent *e); void mappingnotify(XEvent *e); void maprequest(XEvent *e); void movemouse(Client *c); -Client *nexttiled(Client *c); void propertynotify(XEvent *e); void quit(const char *arg); void resize(Client *c, int x, int y, int w, int h, Bool sizehints); @@ -178,7 +177,6 @@ void zoom(const char *arg); /* variables */ char stext[256]; double mwfact; -int screen, sx, sy, sw, sh, wax, way, waw, wah; int (*xerrorxlib)(Display *, XErrorEvent *); unsigned int bh, bpos; unsigned int blw = 0; @@ -204,7 +202,6 @@ Bool otherwm, readin; Bool otherwm, readin; Bool running = True; Bool selscreen = True; -Client *clients = NULL; Client *sel = NULL; Client *stack = NULL; Cursor cursor[CurLast]; diff -r e50c3eb0f55a dwm.h --- a/dwm.h Thu Oct 11 20:50:01 2007 +0200 +++ b/dwm.h Fri Oct 12 09:48:30 2007 +0200 @@ -18,3 +18,11 @@ struct Client { Client *snext; Window win; }; + +/* forward declarations */ + +Client *nexttiled(Client *c); + +/* variables */ +int screen, sx, sy, sw, sh, wax, way, waw, wah; +Client *clients;