From 559a7bb27413f35b98bd6b9dd5536bb2d066859e Mon Sep 17 00:00:00 2001 From: harti Date: Mon, 7 Mar 2005 16:14:50 +0000 Subject: [PATCH] Style: fix indendation of VarModify(). Patch: 7.107 Submitted by: Max Okumoto --- usr.bin/make/var.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index 656dca8011f5..792a8c693dbf 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); } /*-