Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 26 Nov 2004 07:16:57 +0000 (07:16 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 26 Nov 2004 07:16:57 +0000 (07:16 +0000)
2004-11-26  Jakub Jelinek  <jakub@redhat.com>

* stdlib/stdlib.h (setenv): Use nonnull only for second argument.
(unsetenv): Remove.

ChangeLog
stdlib/stdlib.h

index 0267ce3..e04b490 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-26  Jakub Jelinek  <jakub@redhat.com>
+
+       * stdlib/stdlib.h (setenv): Use nonnull only for second argument.
+       (unsetenv): Remove.
+
 2004-11-23  Paolo Bonzini  <bonzini@gnu.org>
 
        * posix/regcomp.c (analyze_tree): Always call calc_epsdest.
index e4f7936..4ef32ac 100644 (file)
@@ -669,10 +669,10 @@ extern int putenv (char *__string) __THROW __nonnull ((1));
 /* Set NAME to VALUE in the environment.
    If REPLACE is nonzero, overwrite an existing value.  */
 extern int setenv (__const char *__name, __const char *__value, int __replace)
-     __THROW __nonnull ((1, 2));
+     __THROW __nonnull ((2));
 
 /* Remove the variable NAME from the environment.  */
-extern int unsetenv (__const char *__name) __THROW __nonnull ((1));
+extern int unsetenv (__const char *__name) __THROW;
 #endif
 
 #ifdef __USE_MISC