diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-12-10 22:44:14 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-12-10 22:44:14 +0000 |
commit | 08f7006520940acb78a7529a6d81d985ae7e97ec (patch) | |
tree | 2fa45557b16d48b56f9c86543e9b7af6723a101b /lib/libc/stdlib/setenv.c | |
parent | 94b067c98f66a210b19feef7605b05cd985743a4 (diff) |
use proper __findenv() prototype; millert@ ok
Diffstat (limited to 'lib/libc/stdlib/setenv.c')
-rw-r--r-- | lib/libc/stdlib/setenv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/stdlib/setenv.c b/lib/libc/stdlib/setenv.c index fc7c67a5db6..044f01b1c92 100644 --- a/lib/libc/stdlib/setenv.c +++ b/lib/libc/stdlib/setenv.c @@ -32,12 +32,14 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: setenv.c,v 1.4 2001/07/09 06:57:45 deraadt Exp $"; +static char *rcsid = "$OpenBSD: setenv.c,v 1.5 2002/12/10 22:44:13 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdlib.h> #include <string.h> +char *__findenv(const char *name, int *offset); + /* * setenv -- * Set the value of the environmental variable "name" to be @@ -53,7 +55,6 @@ setenv(name, value, rewrite) static int alloced; /* if allocated space before */ register char *C; int l_value, offset; - char *__findenv(); if (*value == '=') /* no `=' in value */ ++value; |