summaryrefslogtreecommitdiff
path: root/usr.bin/make/lst.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-11 06:02:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-11 06:02:07 +0000
commit8c9f399c284d97d03f86928be0ad561e7bd80134 (patch)
treee8c8f573167f3f7b4d0229817350c60f28cb83a4 /usr.bin/make/lst.h
parentc2e2c4ed28abfb5e6fcb9070ad9d9002433c68f5 (diff)
undo changes that crash on (at least) the alpha
Diffstat (limited to 'usr.bin/make/lst.h')
-rw-r--r--usr.bin/make/lst.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/make/lst.h b/usr.bin/make/lst.h
index cbb1568a12b..a78be9add5b 100644
--- a/usr.bin/make/lst.h
+++ b/usr.bin/make/lst.h
@@ -2,7 +2,7 @@
#define _LST_H_
/* $OpenPackages$ */
-/* $OpenBSD: lst.h,v 1.22 2001/11/11 01:19:23 espie Exp $ */
+/* $OpenBSD: lst.h,v 1.23 2001/11/11 06:02:06 deraadt Exp $ */
/* $NetBSD: lst.h,v 1.7 1996/11/06 17:59:12 christos Exp $ */
/*
@@ -81,10 +81,7 @@ typedef void *(*DuplicateProc)(void *);
* Creation/destruction functions
*/
/* Create a new list */
-#define Lst_Init(l) (l)->firstPtr = (l)->lastPtr = NULL
-/* Static lists are already okay */
-#define Static_Lst_Init(l)
-
+extern void Lst_Init(LIST *);
/* Duplicate an existing list */
extern Lst Lst_Clone(Lst, Lst, DuplicateProc);
/* Destroy an old one */