summaryrefslogtreecommitdiff
path: root/tag.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-12 10:57:28 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-12 10:57:28 +0200
commitca65478c8968434c78aacf4a102ccbbe4a66ad9e (patch)
treea7b8e02be5fb457e1c3f0e646e212911048390b6 /tag.c
parenta1e9362d38d0527d482bf7bec735d3a949a24d82 (diff)
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)
Diffstat (limited to 'tag.c')
-rw-r--r--tag.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/tag.c b/tag.c
index fafc2c59..962b484a 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() {
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)