X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=tag.c;h=eda154312fafec6af1002c1cc2970c22c5fd7805;hb=67bc08d1b938842d27d976da9bbbc210b1f860b7;hp=fafc2c59d55a4a2d4e2e1cb855cd63c9f0126bbb;hpb=fd00b3a18620c70721c4c4d9f0169e06b9ce4437;p=dwm.git diff --git a/tag.c b/tag.c index fafc2c5..eda1543 100644 --- a/tag.c +++ b/tag.c @@ -33,22 +33,19 @@ static unsigned int len = 0; /* extern */ Client * -getnext(Client *c) -{ +getnext(Client *c) { for(; c && !isvisible(c); c = c->next); return c; } Client * -getprev(Client *c) -{ +getprev(Client *c) { for(; c && !isvisible(c); c = c->prev); return c; } void -initrregs() -{ +initrregs(void) { unsigned int i; regex_t *reg; @@ -76,8 +73,7 @@ initrregs() } void -settags(Client *c, Client *trans) -{ +settags(Client *c, Client *trans) { char prop[512]; unsigned int i, j; regmatch_t tmp; @@ -114,8 +110,7 @@ settags(Client *c, Client *trans) } void -tag(Arg *arg) -{ +tag(Arg *arg) { unsigned int i; if(!sel) @@ -129,8 +124,7 @@ tag(Arg *arg) } void -toggletag(Arg *arg) -{ +toggletag(Arg *arg) { unsigned int i; if(!sel)