diff options
author | 2014-04-20 16:44:44 +0000 | |
---|---|---|
committer | 2014-04-20 16:44:44 +0000 | |
commit | 49aff9f83286e25eb84066bf98323e6c70afbc1f (patch) | |
tree | 786271848591d9d7f49c5063add0fdb88c3cc747 /usr.bin/mandoc/manpath.c | |
parent | KNF. (diff) | |
download | wireguard-openbsd-49aff9f83286e25eb84066bf98323e6c70afbc1f.tar.xz wireguard-openbsd-49aff9f83286e25eb84066bf98323e6c70afbc1f.zip |
KNF: case (FOO): -> case FOO, remove /* LINTED */ and /* ARGSUSED */,
remove trailing whitespace and blanks before tabs, improve some indenting;
no functional change
Diffstat (limited to 'usr.bin/mandoc/manpath.c')
-rw-r--r-- | usr.bin/mandoc/manpath.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/mandoc/manpath.c b/usr.bin/mandoc/manpath.c index 30380347da8..05045ca749a 100644 --- a/usr.bin/mandoc/manpath.c +++ b/usr.bin/mandoc/manpath.c @@ -1,4 +1,4 @@ -/* $Id: manpath.c,v 1.8 2014/03/21 22:17:01 schwarze Exp $ */ +/* $Id: manpath.c,v 1.9 2014/04/20 16:44:44 schwarze Exp $ */ /* * Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> @@ -119,9 +119,8 @@ manpath_add(struct manpaths *dirs, const char *dir) if (0 == strcmp(dirs->paths[i], dir)) return; - dirs->paths = mandoc_realloc - (dirs->paths, - (dirs->sz + 1) * sizeof(char *)); + dirs->paths = mandoc_realloc(dirs->paths, + (dirs->sz + 1) * sizeof(char *)); dirs->paths[dirs->sz++] = mandoc_strdup(cp); } |