stringlist.c (86250) | stringlist.c (90039) |
---|---|
1/* $NetBSD: stringlist.c,v 1.2 1997/01/17 07:26:20 lukem Exp $ */ 2 | |
3/* 4 * Copyright (c) 1994 Christos Zoulas 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 | 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 --- 15 unchanged lines hidden (view full) --- 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 */ 31 |
34#if 0 | |
35#if defined(LIBC_SCCS) && !defined(lint) 36static char *rcsid = "$NetBSD: stringlist.c,v 1.2 1997/01/17 07:26:20 lukem Exp $"; 37#endif /* LIBC_SCCS and not lint */ | 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 */ |
38#endif 39 | |
40#include <sys/cdefs.h> | 35#include <sys/cdefs.h> |
41__FBSDID("$FreeBSD: head/lib/libc/gen/stringlist.c 86250 2001-11-11 02:48:09Z bde $"); | 36__FBSDID("$FreeBSD: head/lib/libc/gen/stringlist.c 90039 2002-02-01 00:57:29Z obrien $"); |
42 43#include <stdio.h> 44#include <string.h> 45#include <err.h> 46#include <stdlib.h> 47#include <stringlist.h> 48 49#define _SL_CHUNKSIZE 20 --- 76 unchanged lines hidden --- | 37 38#include <stdio.h> 39#include <string.h> 40#include <err.h> 41#include <stdlib.h> 42#include <stringlist.h> 43 44#define _SL_CHUNKSIZE 20 --- 76 unchanged lines hidden --- |