diff options
author | grant <grant> | 2003-07-12 19:43:53 +0000 |
---|---|---|
committer | grant <grant> | 2003-07-12 19:43:53 +0000 |
commit | d4536ba45f6ca13aa587e76c594d600d5c2920d9 (patch) | |
tree | ff33e8a027448dcf9779e51aacad7ba2dd438f4d /pkgtools | |
parent | 6b5f40abdba0caa31fef85f5703b28ac47b3720c (diff) | |
download | pkgsrc-d4536ba45f6ca13aa587e76c594d600d5c2920d9.tar.gz |
setenv() returns an int, so make it believe that.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/libnbcompat/files/setenv.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <stddef.h> @@ -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; |