JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
forgot an extern declaration
authorAnselm R. Garbe <arg@suckless.org>
Mon, 19 Feb 2007 15:04:38 +0000 (16:04 +0100)
committerAnselm R. Garbe <arg@suckless.org>
Mon, 19 Feb 2007 15:04:38 +0000 (16:04 +0100)
dwm.h
screen.c

diff --git a/dwm.h b/dwm.h
index a96eec1..a4dc2ba 100644 (file)
--- a/dwm.h
+++ b/dwm.h
@@ -105,7 +105,7 @@ extern void focusnext(Arg *arg);            /* focuses next visible client, arg is ignored
 extern void focusprev(Arg *arg);               /* focuses previous visible client, arg is ignored */
 extern void killclient(Arg *arg);              /* kill c nicely */
 extern void manage(Window w, XWindowAttributes *wa);   /* manage new client */
-Client *nexttiled(Client *c);                  /* returns tiled successor of c */
+extern Client *nexttiled(Client *c);           /* returns tiled successor of c */
 extern void resize(Client *c, int x, int y,
                int w, int h, Bool sizehints);  /* resize with given coordinates c*/
 extern void updatesizehints(Client *c);                /* update the size hint variables of c */
index 041cac7..4e97f09 100644 (file)
--- a/screen.c
+++ b/screen.c
@@ -83,6 +83,7 @@ dofloat(void) {
        }
        restack();
 }
+
 void
 dotile(void) {
        unsigned int i, n, nx, ny, nw, nh, mw, mh, tw, th;