From 2512c847453c24b928c34beed88902fbb6877b7a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 27 Sep 2001 05:24:26 +0000 Subject: Update to accomodate the header file changes --- libc/stdlib/setenv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/stdlib/setenv.c') diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c index 25eb641ba..d304cb4ac 100644 --- a/libc/stdlib/setenv.c +++ b/libc/stdlib/setenv.c @@ -122,7 +122,7 @@ do_return: } -void unsetenv(const char *name) +int unsetenv (const char *name) { register char **ep; register char **dp; @@ -139,4 +139,5 @@ void unsetenv(const char *name) *dp = NULL; UNLOCK(); + return 0; } -- cgit v1.2.3