NetBSD/usr.bin/make/lst.lib
joerg bd681a4d7e Don't use emalloc and friends directly, but call them consistently
bmake_malloc and friends. Implement them via macros for the native case
and provide fallback implementations otherwise. Avoid polluting the
namespace by not defining enomem globally. Don't bother to provide
strdup and strndup, they were only used for the estrdup and estrndup
comapt code.

This addresses the presence of emalloc in system libraries on A/UX and
resulted strange issues as reported by Timothy E. Larson.
2008-10-06 22:09:21 +00:00
..
lstAppend.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstAtEnd.c Rename Lst_Append() to Lst_InsertAfter() and Lst_Insert() to Lst_InsertBefore() 2006-10-25 20:17:40 +00:00
lstAtFront.c Rename Lst_Append() to Lst_InsertAfter() and Lst_Insert() to Lst_InsertBefore() 2006-10-25 20:17:40 +00:00
lstClose.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstConcat.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstDatum.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstDeQueue.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstDestroy.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstDupl.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstEnQueue.c Rename Lst_Append() to Lst_InsertAfter() and Lst_Insert() to Lst_InsertBefore() 2006-10-25 20:17:40 +00:00
lstFind.c PR/29203, PR/29204: Max Okumoto: KNF changes to make [no functional changes] 2005-02-16 15:11:52 +00:00
lstFindFrom.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstFirst.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstForEach.c Return the non-zero value that caused the Lst_ForEach[From] call to 2006-11-11 21:23:36 +00:00
lstForEachFrom.c back all changes out until I fix it properly. 2008-02-15 21:29:50 +00:00
lstInit.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstInsert.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstInt.h Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
lstIsAtEnd.c back all changes out until I fix it properly. 2008-02-15 21:29:50 +00:00
lstIsEmpty.c
lstLast.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstMember.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstNext.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstOpen.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstPrev.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstRemove.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstReplace.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
lstSucc.c Rename 'struct Lst' to 'struct List' and 'struct LstNode' to 'struct 'ListNode' 2006-10-27 21:37:25 +00:00
Makefile Return the non-zero value that caused the Lst_ForEach[From] call to 2006-11-11 21:23:36 +00:00