From 21730caa6647f645974e132ca8afec79b4eeab2b Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 18 Sep 2009 20:57:40 +0200 Subject: 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: Bernhard Reutner-Fischer --- libc/stdlib/setenv.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libc/stdlib/setenv.c') 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 #include -/* 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 __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; -- cgit v1.2.3