summaryrefslogtreecommitdiff
path: root/usr.bin/make/lst.lib/lstInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/lst.lib/lstInt.h')
-rw-r--r--usr.bin/make/lst.lib/lstInt.h25
1 files changed, 4 insertions, 21 deletions
diff --git a/usr.bin/make/lst.lib/lstInt.h b/usr.bin/make/lst.lib/lstInt.h
index 78c5db8d65f..3b616769489 100644
--- a/usr.bin/make/lst.lib/lstInt.h
+++ b/usr.bin/make/lst.lib/lstInt.h
@@ -1,4 +1,5 @@
-/* $OpenBSD: lstInt.h,v 1.11 2000/06/17 14:43:40 espie Exp $ */
+/* $OpenPackages$ */
+/* $OpenBSD: lstInt.h,v 1.12 2001/05/03 13:41:22 espie Exp $ */
/* $NetBSD: lstInt.h,v 1.7 1996/11/06 17:59:44 christos Exp $ */
/*
@@ -50,27 +51,9 @@
#include "lst.h"
/*
- * Flags required for synchronization
- */
-#define LN_DELETED 0x0001 /* List node should be removed when done */
-
-
-/*
- * PAlloc (var, ptype) --
+ * PAlloc(var, ptype) --
* Allocate a pointer-typedef structure 'ptype' into the variable 'var'
*/
-#define PAlloc(var,ptype) var = (ptype) emalloc (sizeof (*var))
-
-/*
- * LstNodeValid (ln, l) --
- * Return TRUE if the LstNode ln is valid with respect to l
- */
-#define LstNodeValid(ln, l) ((ln) == NULL ? FALSE : TRUE)
-
-/*
- * LstIsEmpty (l) --
- * TRUE if the list l is empty.
- */
-#define LstIsEmpty(l) ((l)->firstPtr == NULL)
+#define PAlloc(var,ptype) var = (ptype) emalloc (sizeof (*var))
#endif /* _LSTINT_H_ */