diff options
author | harti <harti@FreeBSD.org> | 2004-11-30 17:46:29 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-11-30 17:46:29 +0000 |
commit | ba6eb9dcb908ffe7a797968e8a9b7dff037333e4 (patch) | |
tree | 056a9516097226d7d6992273b2586fdf619c382c /usr.bin/make/lst.lib/lstDupl.c | |
parent | 82f18a9482f4ba9dc496eb84ba5acec216728a40 (diff) | |
download | FreeBSD-src-ba6eb9dcb908ffe7a797968e8a9b7dff037333e4.zip FreeBSD-src-ba6eb9dcb908ffe7a797968e8a9b7dff037333e4.tar.gz |
Stylification: missing spaces, extra space after function names, casts
and the sizeof operator, missing empty lines, void casts, extra empty lines.
Checked by: diff on make *.o lst.lib/*.o
Submitted by: Max Okumoto <okumoto@soe.ucsd.edu> (partly)
Diffstat (limited to 'usr.bin/make/lst.lib/lstDupl.c')
-rw-r--r-- | usr.bin/make/lst.lib/lstDupl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/lst.lib/lstDupl.c b/usr.bin/make/lst.lib/lstDupl.c index 58f3f56..07d4011 100644 --- a/usr.bin/make/lst.lib/lstDupl.c +++ b/usr.bin/make/lst.lib/lstDupl.c @@ -73,11 +73,11 @@ Lst_Duplicate(Lst list, DuplicateProc *copyProc) Lst nl; LstNode ln; - if (!Lst_Valid (list)) { + if (!Lst_Valid(list)) { return (NULL); } - nl = Lst_Init (list->isCirc); + nl = Lst_Init(list->isCirc); if (nl == NULL) { return (NULL); } @@ -85,7 +85,7 @@ Lst_Duplicate(Lst list, DuplicateProc *copyProc) ln = list->firstPtr; while (ln != NULL) { if (copyProc != NOCOPY) { - if (Lst_AtEnd (nl, (*copyProc) (ln->datum)) == FAILURE) { + if (Lst_AtEnd(nl, (*copyProc)(ln->datum)) == FAILURE) { return (NULL); } } else if (Lst_AtEnd (nl, ln->datum) == FAILURE) { |