diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-07-29 13:49:55 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-07-29 13:49:55 +0000 |
commit | 4696ff97cbacab51a76a3a693ff9d4307a3b70c0 (patch) | |
tree | 41b163c033796c0324a21d709543df26e468e711 /usr.bin/make/lst.lib/lstDupl.c | |
parent | a7ebc714d963055c526618bb095759760812cbe0 (diff) |
reindent, no code change
Diffstat (limited to 'usr.bin/make/lst.lib/lstDupl.c')
-rw-r--r-- | usr.bin/make/lst.lib/lstDupl.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/make/lst.lib/lstDupl.c b/usr.bin/make/lst.lib/lstDupl.c index 9689423a4f0..5b66ac4caa8 100644 --- a/usr.bin/make/lst.lib/lstDupl.c +++ b/usr.bin/make/lst.lib/lstDupl.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: lstDupl.c,v 1.18 2004/04/07 13:11:36 espie Exp $ */ +/* $OpenBSD: lstDupl.c,v 1.19 2007/07/29 13:49:54 espie Exp $ */ /* $NetBSD: lstDupl.c,v 1.6 1996/11/06 17:59:37 christos Exp $ */ /* @@ -59,16 +59,16 @@ Lst Lst_Clone(Lst nl, Lst l, DuplicateProc copyProc) { - LstNode ln; + LstNode ln; - Lst_Init(nl); + Lst_Init(nl); - for (ln = l->firstPtr; ln != NULL; ln = ln->nextPtr) { - if (copyProc != NOCOPY) - Lst_AtEnd(nl, (*copyProc)(ln->datum)); - else - Lst_AtEnd(nl, ln->datum); - } - return nl; + for (ln = l->firstPtr; ln != NULL; ln = ln->nextPtr) { + if (copyProc != NOCOPY) + Lst_AtEnd(nl, (*copyProc)(ln->datum)); + else + Lst_AtEnd(nl, ln->datum); + } + return nl; } |