=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/lst.h,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- src/usr.bin/make/lst.h 2001/11/11 06:02:06 1.23 +++ src/usr.bin/make/lst.h 2001/11/11 12:35:02 1.24 @@ -2,7 +2,7 @@ #define _LST_H_ /* $OpenPackages$ */ -/* $OpenBSD: lst.h,v 1.23 2001/11/11 06:02:06 deraadt Exp $ */ +/* $OpenBSD: lst.h,v 1.24 2001/11/11 12:35:02 espie Exp $ */ /* $NetBSD: lst.h,v 1.7 1996/11/06 17:59:12 christos Exp $ */ /* @@ -81,7 +81,10 @@ * Creation/destruction functions */ /* Create a new list */ -extern void Lst_Init(LIST *); +#define Lst_Init(l) (l)->firstPtr = (l)->lastPtr = NULL +/* Static lists are already okay */ +#define Static_Lst_Init(l) + /* Duplicate an existing list */ extern Lst Lst_Clone(Lst, Lst, DuplicateProc); /* Destroy an old one */