diff options
author | grant <grant@pkgsrc.org> | 2003-09-14 14:10:17 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-09-14 14:10:17 +0000 |
commit | 57113badd8b34b3b2e3518b382cd43b20d3a1d23 (patch) | |
tree | c74efe1068eb76387fbce184278dc34d802ced0f /pkgtools/libnbcompat | |
parent | 820bc9607ad9c2a80d2246fe572fcd63719b241d (diff) | |
download | pkgsrc-57113badd8b34b3b2e3518b382cd43b20d3a1d23.tar.gz |
sl_add() returns void on some systems, so don't include <stringlist.h>,
always use local prototypes.
Diffstat (limited to 'pkgtools/libnbcompat')
-rw-r--r-- | pkgtools/libnbcompat/files/nbcompat.h | 6 |
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> |