about summary refs log tree commit diff
path: root/stdlib/stdlib.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-13 23:06:59 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-13 23:06:59 -0800
commite26dfa69f5329d5ec7dfdb7a1596b1fbff0d3e43 (patch)
tree01390dcbab553cf8ae9667e9372608fdefc0ef06 /stdlib/stdlib.h
parent5a7af22fbb661e351473bfde639beeac16fc32f7 (diff)
downloadglibc-e26dfa69f5329d5ec7dfdb7a1596b1fbff0d3e43.tar.gz
glibc-e26dfa69f5329d5ec7dfdb7a1596b1fbff0d3e43.tar.xz
glibc-e26dfa69f5329d5ec7dfdb7a1596b1fbff0d3e43.zip
Add nonnull attribute to unsetenv declaration.
Diffstat (limited to 'stdlib/stdlib.h')
-rw-r--r--stdlib/stdlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index bac8ed65be..248aa33471 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -586,7 +586,7 @@ extern int setenv (__const char *__name, __const char *__value, int __replace)
      __THROW __nonnull ((2));
 
 /* Remove the variable NAME from the environment.  */
-extern int unsetenv (__const char *__name) __THROW;
+extern int unsetenv (__const char *__name) __THROW __nonnull ((1));
 #endif
 
 #ifdef	__USE_MISC