diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-11-26 07:16:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-11-26 07:16:57 +0000 |
commit | 90692538658ce0c42abacb0c053c7e88bc5d649d (patch) | |
tree | c32870fa03cb6e6cc01e4be5529eb59704db3b07 | |
parent | 20dc2f79f7626201b14bb706688bb2171c7cb59c (diff) | |
download | glibc-90692538658ce0c42abacb0c053c7e88bc5d649d.zip glibc-90692538658ce0c42abacb0c053c7e88bc5d649d.tar.gz glibc-90692538658ce0c42abacb0c053c7e88bc5d649d.tar.bz2 |
Update.
2004-11-26 Jakub Jelinek <jakub@redhat.com>
* stdlib/stdlib.h (setenv): Use nonnull only for second argument.
(unsetenv): Remove.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | stdlib/stdlib.h | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -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. diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index e4f7936..4ef32ac 100644 --- a/stdlib/stdlib.h +++ b/stdlib/stdlib.h @@ -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 |