From: Anselm R. Garbe Date: Mon, 19 Feb 2007 15:04:38 +0000 (+0100) Subject: forgot an extern declaration X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;ds=inline;h=ebe68f650a57be4ed41468c8ba48ea7c5177e574;p=dwm.git forgot an extern declaration --- diff --git a/dwm.h b/dwm.h index a96eec1..a4dc2ba 100644 --- 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 */ diff --git a/screen.c b/screen.c index 041cac7..4e97f09 100644 --- 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;