pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files sl_add() returns void on so...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b8294739df17
branches:  trunk
changeset: 461325:b8294739df17
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Sep 14 14:10:17 2003 +0000

description:
sl_add() returns void on some systems, so don't include <stringlist.h>,
always use local prototypes.

diffstat:

 pkgtools/libnbcompat/files/nbcompat.h |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r 5ddf06e48044 -r b8294739df17 pkgtools/libnbcompat/files/nbcompat.h
--- a/pkgtools/libnbcompat/files/nbcompat.h     Sun Sep 14 14:08:18 2003 +0000
+++ b/pkgtools/libnbcompat/files/nbcompat.h     Sun Sep 14 14:10:17 2003 +0000
@@ -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 @@
 #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 @@
 int     sl_add(StringList *, char *);
 void    sl_free(StringList *, int);
 char   *sl_find(StringList *, char *);
-#endif
 
 #if HAVE_TERMCAP_H
 # include <termcap.h>



Home | Main Index | Thread Index | Old Index