diff options
| author | jtc <jtc@NetBSD.org> | 1995-06-14 05:19:52 +0000 |
|---|---|---|
| committer | jtc <jtc@NetBSD.org> | 1995-06-14 05:19:52 +0000 |
| commit | 0b2dbb02ca4d0d0feca64fb2eb4ece4d4d609d31 (patch) | |
| tree | 0ed119bdca175b10696fdaf91825940e92dedeb6 /lib/libc/stdlib/setenv.c | |
| parent | 6eaa1d60d8a6133f470ce55fe2cdef1e153c1621 (diff) | |
add explicit return type
Diffstat (limited to 'lib/libc/stdlib/setenv.c')
| -rw-r--r-- | lib/libc/stdlib/setenv.c | 3 |
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; |
