=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/lst.h,v retrieving revision 1.14 retrieving revision 1.15 diff -c -r1.14 -r1.15 *** src/usr.bin/make/lst.h 2000/06/17 14:34:04 1.14 --- src/usr.bin/make/lst.h 2000/06/17 14:38:17 1.15 *************** *** 1,4 **** ! /* $OpenBSD: lst.h,v 1.14 2000/06/17 14:34:04 espie Exp $ */ /* $NetBSD: lst.h,v 1.7 1996/11/06 17:59:12 christos Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: lst.h,v 1.15 2000/06/17 14:38:17 espie Exp $ */ /* $NetBSD: lst.h,v 1.7 1996/11/06 17:59:12 christos Exp $ */ /* *************** *** 109,120 **** /* * Creation/destruction functions */ /* Create a new list */ ! Lst Lst_Init __P((void)); /* Duplicate an existing list */ Lst Lst_Duplicate __P((Lst, DuplicateProc)); - /* Destroy an old one */ - void Lst_Destroy __P((Lst, SimpleProc)); /* True if list is empty */ Boolean Lst_IsEmpty __P((Lst)); --- 109,124 ---- /* * Creation/destruction functions */ + /* CTOR/DTOR, ala C++ */ + void Lst_Init __P((Lst)); + void Lst_Destroy __P((Lst, SimpleProc)); + /* Create a new list */ ! Lst Lst_New __P((void)); ! /* Destroy an old one */ ! void Lst_Delete __P((Lst, SimpleProc)); /* Duplicate an existing list */ Lst Lst_Duplicate __P((Lst, DuplicateProc)); /* True if list is empty */ Boolean Lst_IsEmpty __P((Lst));