summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-09-14 14:10:17 +0000
committergrant <grant@pkgsrc.org>2003-09-14 14:10:17 +0000
commitefa6f88bace963900392637ca11e02cd9b734096 (patch)
treec74efe1068eb76387fbce184278dc34d802ced0f
parentc7bcb6b6b7739a0f9e66d9c7e42d44b77c288367 (diff)
downloadpkgsrc-efa6f88bace963900392637ca11e02cd9b734096.tar.gz
sl_add() returns void on some systems, so don't include <stringlist.h>,
always use local prototypes.
-rw-r--r--pkgtools/libnbcompat/files/nbcompat.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgtools/libnbcompat/files/nbcompat.h b/pkgtools/libnbcompat/files/nbcompat.h
index 383fa17f3c3..444648fc9a5 100644
--- a/pkgtools/libnbcompat/files/nbcompat.h
+++ b/pkgtools/libnbcompat/files/nbcompat.h
@@ -1,4 +1,4 @@
-/* $NetBSD: nbcompat.h,v 1.21 2003/09/14 05:35:57 grant Exp $ */
+/* $NetBSD: nbcompat.h,v 1.22 2003/09/14 14:10:17 grant Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -249,9 +249,6 @@ struct { \
#define _PATH_TMP "/tmp/"
#endif
-#if HAVE_STRINGLIST_H
-# include <stringlist.h>
-#else
typedef struct _stringlist {
char **sl_str;
size_t sl_max;
@@ -262,7 +259,6 @@ StringList *sl_init(void);
int sl_add(StringList *, char *);
void sl_free(StringList *, int);
char *sl_find(StringList *, char *);
-#endif
#if HAVE_TERMCAP_H
# include <termcap.h>