summaryrefslogtreecommitdiff
path: root/libc/stdlib/setenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/setenv.c')
-rw-r--r--libc/stdlib/setenv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c
index 07af88465..413ebed9e 100644
--- a/libc/stdlib/setenv.c
+++ b/libc/stdlib/setenv.c
@@ -132,10 +132,11 @@ int attribute_hidden __add_to_environ (const char *name, const char *value,
return 0;
}
-int setenv (const char *name, const char *value, int replace)
+int attribute_hidden __setenv (const char *name, const char *value, int replace)
{
return __add_to_environ (name, value, NULL, replace);
}
+strong_alias(__setenv,setenv)
int attribute_hidden __unsetenv (const char *name)
{