[hackers] [dwm] forgot an extern declaration

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Mon Feb 19 16:07:55 2007

changeset: 780:6dc7578a5107
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Mon Feb 19 16:04:38 2007 +0100
summary: forgot an extern declaration

diff -r e4382ee39888 -r 6dc7578a5107 dwm.h
--- a/dwm.h Mon Feb 19 15:57:08 2007 +0100
+++ b/dwm.h Mon Feb 19 16:04:38 2007 +0100
@@ -105,7 +105,7 @@ extern void focusprev(Arg *arg); /* foc
 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 */
diff -r e4382ee39888 -r 6dc7578a5107 screen.c
--- a/screen.c Mon Feb 19 15:57:08 2007 +0100
+++ b/screen.c Mon Feb 19 16:04:38 2007 +0100
@@ -83,6 +83,7 @@ dofloat(void) {
         }
         restack();
 }
+
 void
 dotile(void) {
         unsigned int i, n, nx, ny, nw, nh, mw, mh, tw, th;
Received on Mon Feb 19 2007 - 16:07:55 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:29 UTC