summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/setenv.c
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-09-18 15:00:08 -0700
committerAustin Foxley <austinf@cetoncorp.com>2009-09-18 15:00:08 -0700
commit8eee4fd5b928613578b8d4420016c36e4d27fe81 (patch)
tree4b0b7a2f41c57029f22d09c5cb3d52b40097d54d /libc/stdlib/setenv.c
parentcdf2f9aeb5450f6d17eef30935b24dda1589aed5 (diff)
downloaduClibc-alpine-8eee4fd5b928613578b8d4420016c36e4d27fe81.tar.bz2
uClibc-alpine-8eee4fd5b928613578b8d4420016c36e4d27fe81.tar.xz
trim Experimentally off and uncommented hidden
sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/stdlib/setenv.c')
-rw-r--r--libc/stdlib/setenv.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c
index 6598a6c52..8da2fae5c 100644
--- a/libc/stdlib/setenv.c
+++ b/libc/stdlib/setenv.c
@@ -25,12 +25,6 @@
#include <string.h>
#include <unistd.h>
-/* Experimentally off - libc_hidden_proto(memcpy) */
-/* Experimentally off - libc_hidden_proto(strchr) */
-/* Experimentally off - libc_hidden_proto(strlen) */
-/* Experimentally off - libc_hidden_proto(strncmp) */
-/* Experimentally off - libc_hidden_proto(strndup) */
-/* libc_hidden_proto(unsetenv) */
#include <bits/uClibc_mutex.h>
__UCLIBC_MUTEX_STATIC(mylock, PTHREAD_MUTEX_INITIALIZER);
@@ -121,7 +115,6 @@ static int __add_to_environ(const char *name, const char *value,
return rv;
}
-/* libc_hidden_proto(setenv) */
int setenv(const char *name, const char *value, int replace)
{
/* NB: setenv("VAR", NULL, 1) inserts "VAR=" string */
@@ -129,7 +122,6 @@ int setenv(const char *name, const char *value, int replace)
}
libc_hidden_def(setenv)
-/* libc_hidden_proto(unsetenv) */
int unsetenv(const char *name)
{
const char *eq;