stringlist.c (90039) | stringlist.c (108868) |
---|---|
1/* 2 * Copyright (c) 1994 Christos Zoulas 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 19 unchanged lines hidden (view full) --- 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 */ 31 32#if defined(LIBC_SCCS) && !defined(lint) 33static char *rcsid = "$NetBSD: stringlist.c,v 1.2 1997/01/17 07:26:20 lukem Exp $"; 34#endif /* LIBC_SCCS and not lint */ 35#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 1994 Christos Zoulas 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 19 unchanged lines hidden (view full) --- 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 */ 31 32#if defined(LIBC_SCCS) && !defined(lint) 33static char *rcsid = "$NetBSD: stringlist.c,v 1.2 1997/01/17 07:26:20 lukem Exp $"; 34#endif /* LIBC_SCCS and not lint */ 35#include <sys/cdefs.h> |
36__FBSDID("$FreeBSD: head/lib/libc/gen/stringlist.c 90039 2002-02-01 00:57:29Z obrien $"); | 36__FBSDID("$FreeBSD: head/lib/libc/gen/stringlist.c 108868 2003-01-07 06:55:58Z tjr $"); |
37 | 37 |
38#include "namespace.h" |
|
38#include <stdio.h> 39#include <string.h> 40#include <err.h> 41#include <stdlib.h> 42#include <stringlist.h> | 39#include <stdio.h> 40#include <string.h> 41#include <err.h> 42#include <stdlib.h> 43#include <stringlist.h> |
44#include "un-namespace.h" |
|
43 44#define _SL_CHUNKSIZE 20 45 46/* 47 * sl_init(): Initialize a string list 48 */ 49StringList * 50sl_init() --- 70 unchanged lines hidden --- | 45 46#define _SL_CHUNKSIZE 20 47 48/* 49 * sl_init(): Initialize a string list 50 */ 51StringList * 52sl_init() --- 70 unchanged lines hidden --- |