Explorar el Código

forgot an extern declaration

Anselm R. Garbe hace 18 años
padre
commit
ebe68f650a
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 1
      dwm.h
  2. 1 0
      screen.c

+ 1 - 1
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 */

+ 1 - 0
screen.c

@@ -83,6 +83,7 @@ dofloat(void) {
 	}
 	restack();
 }
+
 void
 dotile(void) {
 	unsigned int i, n, nx, ny, nw, nh, mw, mh, tw, th;