summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-08 18:21:14 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-08 18:21:14 +0000
commit7f2cde100206c82aa698c37d829415122955096c (patch)
treed5bcdf599c0cf9ed8ae410401905a01af053ef9f /include
parent3dcb135f7b6add6b8237b45dd8da6a04eec9942e (diff)
we crash if the first argument to realpath() is non-null as well so lets mark both arguments as being non-NULL
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 276f1ba66..9ffe5a68b 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -637,7 +637,7 @@ extern char *canonicalize_file_name (__const char *__name)
name in RESOLVED. */
/* we choose to handle __resolved==NULL as crash :) */
extern char *realpath (__const char *__restrict __name,
- char *__restrict __resolved) __THROW __wur __nonnull((2));
+ char *__restrict __resolved) __THROW __wur __nonnull((1,2));
#endif