diff options
author | harti <harti@FreeBSD.org> | 2005-03-07 16:14:50 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-03-07 16:14:50 +0000 |
commit | 559a7bb27413f35b98bd6b9dd5536bb2d066859e (patch) | |
tree | 72c97e73441faab2c9cde99c49542c23e4f71b06 | |
parent | 44c51b91c7d8ec523aa40a15ff207dcc48607642 (diff) | |
download | FreeBSD-src-559a7bb27413f35b98bd6b9dd5536bb2d066859e.zip FreeBSD-src-559a7bb27413f35b98bd6b9dd5536bb2d066859e.tar.gz |
Style: fix indendation of VarModify().
Patch: 7.107
Submitted by: Max Okumoto <okumoto@ucsd.edu>
-rw-r--r-- | usr.bin/make/var.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index 656dca8..792a8c6 100644 --- a/usr.bin/make/var.c +++ b/usr.bin/make/var.c @@ -600,25 +600,25 @@ Var_Value(const char *name, GNode *ctxt, char **frp) static char * VarModify(char *str, VarModifyProc *modProc, void *datum) { - Buffer *buf; /* Buffer for the new string */ - Boolean addSpace; /* TRUE if need to add a space to the - * buffer before adding the trimmed - * word */ - char **av; /* word list [first word does not count] */ - int ac, i; + Buffer *buf; /* Buffer for the new string */ + Boolean addSpace; /* TRUE if need to add a space to the buffer + * before adding the trimmed word */ + char **av; /* word list [first word does not count] */ + int ac; + int i; - buf = Buf_Init(0); - addSpace = FALSE; + buf = Buf_Init(0); + addSpace = FALSE; - av = brk_string(str, &ac, FALSE); + av = brk_string(str, &ac, FALSE); - for (i = 1; i < ac; i++) - addSpace = (*modProc)(av[i], addSpace, buf, datum); + for (i = 1; i < ac; i++) + addSpace = (*modProc)(av[i], addSpace, buf, datum); - Buf_AddByte(buf, '\0'); - str = (char *)Buf_GetAll(buf, (size_t *)NULL); - Buf_Destroy(buf, FALSE); - return (str); + Buf_AddByte(buf, '\0'); + str = (char *)Buf_GetAll(buf, (size_t *)NULL); + Buf_Destroy(buf, FALSE); + return (str); } /*- |