mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Add nonnull attribute to unsetenv declaration.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2010-01-13 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* stdlib/stdlib.h: Parameter of unsetenv must not be NULL.
|
||||||
|
|
||||||
2010-01-12 H.J. Lu <hongjiu.lu@intel.com>
|
2010-01-12 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* sysdeps/x86_64/multiarch/strlen.S: Unroll the loop.
|
* sysdeps/x86_64/multiarch/strlen.S: Unroll the loop.
|
||||||
|
@ -586,7 +586,7 @@ extern int setenv (__const char *__name, __const char *__value, int __replace)
|
|||||||
__THROW __nonnull ((2));
|
__THROW __nonnull ((2));
|
||||||
|
|
||||||
/* Remove the variable NAME from the environment. */
|
/* Remove the variable NAME from the environment. */
|
||||||
extern int unsetenv (__const char *__name) __THROW;
|
extern int unsetenv (__const char *__name) __THROW __nonnull ((1));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_MISC
|
#ifdef __USE_MISC
|
||||||
|
Reference in New Issue
Block a user