summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-08 18:24:46 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-08 18:24:46 +0000
commitb56c113af85ffe0dc7a2780be767b5925296385f (patch)
tree85c34716c5e39e875efd64f53adec125b3ab4900 /include
parent7f2cde100206c82aa698c37d829415122955096c (diff)
revert previous change; reading POSIX spec some more says we need to set errno to EINVAL if filename is 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 9ffe5a68b..276f1ba66 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((1,2));
+ char *__restrict __resolved) __THROW __wur __nonnull((2));
#endif