summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/setenv.c
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1995-06-14 05:19:52 +0000
committerjtc <jtc@NetBSD.org>1995-06-14 05:19:52 +0000
commit0b2dbb02ca4d0d0feca64fb2eb4ece4d4d609d31 (patch)
tree0ed119bdca175b10696fdaf91825940e92dedeb6 /lib/libc/stdlib/setenv.c
parent6eaa1d60d8a6133f470ce55fe2cdef1e153c1621 (diff)
add explicit return type
Diffstat (limited to 'lib/libc/stdlib/setenv.c')
-rw-r--r--lib/libc/stdlib/setenv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdlib/setenv.c b/lib/libc/stdlib/setenv.c
index 16c40735886..c345173c179 100644
--- a/lib/libc/stdlib/setenv.c
+++ b/lib/libc/stdlib/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.6 1995/02/28 01:46:53 jtc Exp $";
+static char *rcsid = "$Id: setenv.c,v 1.7 1995/06/14 05:19:57 jtc Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdlib.h>
@@ -44,6 +44,7 @@ static char *rcsid = "$Id: setenv.c,v 1.6 1995/02/28 01:46:53 jtc Exp $";
* 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;