summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant>2003-07-12 19:43:53 +0000
committergrant <grant>2003-07-12 19:43:53 +0000
commitd4536ba45f6ca13aa587e76c594d600d5c2920d9 (patch)
treeff33e8a027448dcf9779e51aacad7ba2dd438f4d
parent6b5f40abdba0caa31fef85f5703b28ac47b3720c (diff)
downloadpkgsrc-d4536ba45f6ca13aa587e76c594d600d5c2920d9.tar.gz
setenv() returns an int, so make it believe that.
-rw-r--r--pkgtools/libnbcompat/files/setenv.c3
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;