1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
2004-11-26  Jakub Jelinek  <jakub@redhat.com>

	* stdlib/stdlib.h (setenv): Use nonnull only for second argument.
	(unsetenv): Remove.
This commit is contained in:
Ulrich Drepper
2004-11-26 07:16:57 +00:00
parent 20dc2f79f7
commit 9069253865
2 changed files with 7 additions and 2 deletions

View 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