From 6f7dc709ed7e403af224b0fbb91e9619629eb2ec Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 14 Jan 2006 19:45:02 +0000 Subject: make DODEBUG=y happy, update sysdeps/common/* copyright --- libc/stdlib/setenv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/stdlib/setenv.c') diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c index 5c19143d1..347718237 100644 --- a/libc/stdlib/setenv.c +++ b/libc/stdlib/setenv.c @@ -136,13 +136,14 @@ int attribute_hidden __add_to_environ (const char *name, const char *value, return 0; } +libc_hidden_proto(setenv) int setenv (const char *name, const char *value, int replace) { return __add_to_environ (name, value, NULL, replace); } -libc_hidden_proto(setenv) libc_hidden_def(setenv) +libc_hidden_proto(unsetenv) int unsetenv (const char *name) { size_t len; @@ -171,7 +172,6 @@ int unsetenv (const char *name) UNLOCK; return 0; } -libc_hidden_proto(unsetenv) libc_hidden_def(unsetenv) /* The `clearenv' was planned to be added to POSIX.1 but probably -- cgit v1.2.3