summaryrefslogtreecommitdiff
path: root/libc/stdlib/setenv.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:44:04 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:44:04 +0000
commit42d2cb36eeaa15c78cf309acda5a802491873abe (patch)
tree504618ec0a302668c51e16e7ee5905c33a0e06d0 /libc/stdlib/setenv.c
parentd482ef60da96645599b808bb74fe014e1ab4671e (diff)
New hidden versions
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)
{