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 diff
     1.1 --- a/tag.c	Tue Sep 12 09:50:06 2006 +0200
     1.2 +++ b/tag.c	Tue Sep 12 10:57:28 2006 +0200
     1.3 @@ -33,22 +33,19 @@
     1.4  /* extern */
     1.5  
     1.6  Client *
     1.7 -getnext(Client *c)
     1.8 -{
     1.9 +getnext(Client *c) {
    1.10  	for(; c && !isvisible(c); c = c->next);
    1.11  	return c;
    1.12  }
    1.13  
    1.14  Client *
    1.15 -getprev(Client *c)
    1.16 -{
    1.17 +getprev(Client *c) {
    1.18  	for(; c && !isvisible(c); c = c->prev);
    1.19  	return c;
    1.20  }
    1.21  
    1.22  void
    1.23 -initrregs()
    1.24 -{
    1.25 +initrregs() {
    1.26  	unsigned int i;
    1.27  	regex_t *reg;
    1.28  
    1.29 @@ -76,8 +73,7 @@
    1.30  }
    1.31  
    1.32  void
    1.33 -settags(Client *c, Client *trans)
    1.34 -{
    1.35 +settags(Client *c, Client *trans) {
    1.36  	char prop[512];
    1.37  	unsigned int i, j;
    1.38  	regmatch_t tmp;
    1.39 @@ -114,8 +110,7 @@
    1.40  }
    1.41  
    1.42  void
    1.43 -tag(Arg *arg)
    1.44 -{
    1.45 +tag(Arg *arg) {
    1.46  	unsigned int i;
    1.47  
    1.48  	if(!sel)
    1.49 @@ -129,8 +124,7 @@
    1.50  }
    1.51  
    1.52  void
    1.53 -toggletag(Arg *arg)
    1.54 -{
    1.55 +toggletag(Arg *arg) {
    1.56  	unsigned int i;
    1.57  
    1.58  	if(!sel)