diff options
Diffstat (limited to 'libc/stdlib/setenv.c')
-rw-r--r-- | libc/stdlib/setenv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c index 5c19143d1..347718237 100644 --- a/libc/stdlib/setenv.c +++ b/libc/stdlib/setenv.c @@ -136,13 +136,14 @@ int attribute_hidden __add_to_environ (const char *name, const char *value, return 0; } +libc_hidden_proto(setenv) int setenv (const char *name, const char *value, int replace) { return __add_to_environ (name, value, NULL, replace); } -libc_hidden_proto(setenv) libc_hidden_def(setenv) +libc_hidden_proto(unsetenv) int unsetenv (const char *name) { size_t len; @@ -171,7 +172,6 @@ int unsetenv (const char *name) UNLOCK; return 0; } -libc_hidden_proto(unsetenv) libc_hidden_def(unsetenv) /* The `clearenv' was planned to be added to POSIX.1 but probably |