diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-09-27 05:24:26 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-09-27 05:24:26 +0000 |
commit | 2512c847453c24b928c34beed88902fbb6877b7a (patch) | |
tree | 3d327c54c00684b85c435cffa29c5050888c0a69 /libc/stdlib/setenv.c | |
parent | e83a36ce9f97ac0f59117b3a62fd2dd8461b1fd5 (diff) |
Update to accomodate the header file changes
Diffstat (limited to 'libc/stdlib/setenv.c')
-rw-r--r-- | libc/stdlib/setenv.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |