From 29cecee7ff6894517a32d929aecee283bb85058c Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 20 Apr 2014 16:46:04 +0000 Subject: KNF: case (FOO): -> case FOO:, remove /* LINTED */ and /* ARGSUSED */, remove trailing whitespace and blanks before tabs, improve some indenting; no functional change --- manpath.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'manpath.c') diff --git a/manpath.c b/manpath.c index f301c0d6..01635cd8 100644 --- a/manpath.c +++ b/manpath.c @@ -1,4 +1,4 @@ -/* $Id: manpath.c,v 1.13 2014/03/23 11:25:26 schwarze Exp $ */ +/* $Id: manpath.c,v 1.14 2014/04/20 16:46:05 schwarze Exp $ */ /* * Copyright (c) 2011 Ingo Schwarze * Copyright (c) 2011 Kristaps Dzonsons @@ -169,9 +169,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); } -- cgit v1.2.3-56-ge451