summaryrefslogtreecommitdiff
path: root/usr.bin/make/lst.lib/lstDestroy.c
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1996-10-06 16:45:32 +0000
committerSteve Price <steve@FreeBSD.org>1996-10-06 16:45:32 +0000
commitea09f5e44d046037109ca9ba434e0135c27b392c (patch)
treebe2e28496871fb3f31307f3dda3b9d11045f9f74 /usr.bin/make/lst.lib/lstDestroy.c
parent6c7089bce55654cffa6258d1dcb973d642d95728 (diff)
Notes
Diffstat (limited to 'usr.bin/make/lst.lib/lstDestroy.c')
-rw-r--r--usr.bin/make/lst.lib/lstDestroy.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.bin/make/lst.lib/lstDestroy.c b/usr.bin/make/lst.lib/lstDestroy.c
index 56ea5c528fe6..23e0ecd6b7d7 100644
--- a/usr.bin/make/lst.lib/lstDestroy.c
+++ b/usr.bin/make/lst.lib/lstDestroy.c
@@ -1,3 +1,5 @@
+/* $NetBSD: lstDestroy.c,v 1.5 1995/06/14 15:20:58 christos Exp $ */
+
/*
* Copyright (c) 1988, 1989, 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -35,7 +37,11 @@
*/
#ifndef lint
-static char sccsid[] = "@(#)lstDestroy.c 8.2 (Berkeley) 4/28/95";
+#if 0
+static char sccsid[] = "@(#)lstDestroy.c 8.1 (Berkeley) 6/6/93";
+#else
+static char rcsid[] = "$NetBSD: lstDestroy.c,v 1.5 1995/06/14 15:20:58 christos Exp $";
+#endif
#endif /* not lint */
/*-
@@ -68,7 +74,7 @@ Lst_Destroy (l, freeProc)
register ListNode ln;
register ListNode tln = NilListNode;
register List list = (List)l;
-
+
if (l == NILLST || ! l) {
/*
* Note the check for l == (Lst)0 to catch uninitialized static Lst's.
@@ -97,6 +103,6 @@ Lst_Destroy (l, freeProc)
free ((Address)ln);
}
}
-
+
free ((Address)l);
}