summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-07-12 19:43:53 +0000
committergrant <grant@pkgsrc.org>2003-07-12 19:43:53 +0000
commit6c0c7208c74988dfa5233c627b8278979276dadd (patch)
treeff33e8a027448dcf9779e51aacad7ba2dd438f4d
parent81e36af74c02ff2da4826fefb07b2b1ec4ada321 (diff)
downloadpkgsrc-6c0c7208c74988dfa5233c627b8278979276dadd.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;