From ba6eb9dcb908ffe7a797968e8a9b7dff037333e4 Mon Sep 17 00:00:00 2001 From: harti Date: Tue, 30 Nov 2004 17:46:29 +0000 Subject: 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 (partly) --- usr.bin/make/lst.lib/lstDestroy.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr.bin/make/lst.lib/lstDestroy.c') diff --git a/usr.bin/make/lst.lib/lstDestroy.c b/usr.bin/make/lst.lib/lstDestroy.c index 2a43c1d..5b9dc24 100644 --- a/usr.bin/make/lst.lib/lstDestroy.c +++ b/usr.bin/make/lst.lib/lstDestroy.c @@ -82,22 +82,22 @@ Lst_Destroy(Lst list, FreeProc *freeProc) if (list->lastPtr != NULL) list->lastPtr->nextPtr = NULL; else { - free (list); + free(list); return; } if (freeProc) { for (ln = list->firstPtr; ln != NULL; ln = tln) { tln = ln->nextPtr; - (*freeProc) (ln->datum); - free (ln); + (*freeProc)(ln->datum); + free(ln); } } else { for (ln = list->firstPtr; ln != NULL; ln = tln) { tln = ln->nextPtr; - free (ln); + free(ln); } } - free (list); + free(list); } -- cgit v1.1