Mercurial > aewl
diff tag.c @ 461:9d23330a5268
removed a bunch of lines through making function signatures more consistent with my style ( { does not belong to a new line, if function args are single-lined)
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Tue, 12 Sep 2006 10:57:28 +0200 |
parents | 785bad5f21dd |
children | be4f90c03582 |
line wrap: on
line diff
--- a/tag.c Tue Sep 12 09:50:06 2006 +0200 +++ b/tag.c Tue Sep 12 10:57:28 2006 +0200 @@ -33,22 +33,19 @@ /* 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() { unsigned int i; regex_t *reg; @@ -76,8 +73,7 @@ } 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 @@ } void -tag(Arg *arg) -{ +tag(Arg *arg) { unsigned int i; if(!sel) @@ -129,8 +124,7 @@ } void -toggletag(Arg *arg) -{ +toggletag(Arg *arg) { unsigned int i; if(!sel)