From d4536ba45f6ca13aa587e76c594d600d5c2920d9 Mon Sep 17 00:00:00 2001 From: grant Date: Sat, 12 Jul 2003 19:43:53 +0000 Subject: setenv() returns an int, so make it believe that. --- pkgtools/libnbcompat/files/setenv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgtools/libnbcompat/files/setenv.c b/pkgtools/libnbcompat/files/setenv.c index c71ac517c81..f652041d6b2 100644 --- a/pkgtools/libnbcompat/files/setenv.c +++ b/pkgtools/libnbcompat/files/setenv.c @@ -33,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)setenv.c 5.6 (Berkeley) 6/4/91";*/ -static char *rcsid = "$Id: setenv.c,v 1.1.1.1 2003/03/31 05:03:00 grant Exp $"; +static char *rcsid = "$Id: setenv.c,v 1.2 2003/07/12 19:43:53 grant Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -73,6 +73,7 @@ __findenv(name, offset) * Set the value of the environmental variable "name" to be * "value". If rewrite is set, replace any current value. */ +int setenv(name, value, rewrite) register const char *name; register const char *value; -- cgit v1.2.3