From cb97aadebfeba7f5e8f1b85beee5ab10e88c2990 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 20 Nov 2008 22:11:44 +0000 Subject: Last portion of libc_hidden_proto removal. Appears to build fine (several .configs tried) --- libc/stdlib/setenv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/stdlib/setenv.c') diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c index 833bd8fcd..cf10804ec 100644 --- a/libc/stdlib/setenv.c +++ b/libc/stdlib/setenv.c @@ -30,7 +30,7 @@ /* Experimentally off - libc_hidden_proto(strlen) */ /* Experimentally off - libc_hidden_proto(strncmp) */ /* Experimentally off - libc_hidden_proto(strndup) */ -libc_hidden_proto(unsetenv) +/* libc_hidden_proto(unsetenv) */ #include __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_MUTEX_INITIALIZER); @@ -133,14 +133,14 @@ int __add_to_environ (const char *name, const char *value, return rv; } -libc_hidden_proto(setenv) +/* libc_hidden_proto(setenv) */ int setenv (const char *name, const char *value, int replace) { return __add_to_environ (name, value, NULL, replace); } libc_hidden_def(setenv) -libc_hidden_proto(unsetenv) +/* libc_hidden_proto(unsetenv) */ int unsetenv (const char *name) { size_t len; -- cgit v1.2.3