about summary refs log tree commit diff
path: root/stdlib/stdlib.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-11-26 07:16:57 +0000
committerUlrich Drepper <drepper@redhat.com>2004-11-26 07:16:57 +0000
commit90692538658ce0c42abacb0c053c7e88bc5d649d (patch)
treec32870fa03cb6e6cc01e4be5529eb59704db3b07 /stdlib/stdlib.h
parent20dc2f79f7626201b14bb706688bb2171c7cb59c (diff)
downloadglibc-90692538658ce0c42abacb0c053c7e88bc5d649d.tar.gz
glibc-90692538658ce0c42abacb0c053c7e88bc5d649d.tar.xz
glibc-90692538658ce0c42abacb0c053c7e88bc5d649d.zip
Update.
2004-11-26  Jakub Jelinek  <jakub@redhat.com>

	* stdlib/stdlib.h (setenv): Use nonnull only for second argument.
	(unsetenv): Remove.
Diffstat (limited to 'stdlib/stdlib.h')
-rw-r--r--stdlib/stdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index e4f79369a6..4ef32ac782 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