From 324cfb1744c2c3cc253dd0f63c2252206eb72249 Mon Sep 17 00:00:00 2001 From: Kaleb Keithley Date: Tue, 25 Nov 2003 19:29:02 +0000 Subject: XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks --- list.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'list.h') diff --git a/list.h b/list.h index 771c390..6c1ed35 100644 --- a/list.h +++ b/list.h @@ -19,15 +19,23 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/* $XFree86: xc/programs/mkfontscale/list.h,v 1.1 2002/06/05 19:46:04 dawes Exp $ */ +/* $XFree86: xc/programs/mkfontscale/list.h,v 1.3 2003/07/08 15:39:49 tsi Exp $ */ + +#ifndef _MKS_LIST_H_ +#define _MKS_LIST_H_ 1 + +char *dsprintf(char *f, ...); typedef struct _List { char *value; struct _List *next; } ListRec, *ListPtr; +int listMember(char *elt, ListPtr list); ListPtr listCons(char *car, ListPtr cdr); +ListPtr listAdjoin(char *car, ListPtr cdr); ListPtr listConsF(ListPtr cdr, char *f, ...); +ListPtr listAdjoinF(ListPtr cdr, char *f, ...); int listLength(ListPtr list); ListPtr appendList(ListPtr first, ListPtr second); ListPtr makeList(char **a, int n, ListPtr old, int begin); @@ -35,3 +43,4 @@ ListPtr reverseList(ListPtr old); void destroyList(ListPtr old); void deepDestroyList(ListPtr old); +#endif /* _MKS_LIST_H_ */ -- cgit v1.2.3