summaryrefslogtreecommitdiffstats
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-14 15:57:47 +0100
committerAustin Foxley <austinf@cetoncorp.com>2009-11-22 11:13:59 -0800
commite75efd680b75b5f5658703aef78febfb0ef78dc6 (patch)
tree1de28a82938dcaa8ab2555e1b402da921324d9d6 /include/stdlib.h
parent5133b27934f4e5f91119bcfdc70be274f8394a9e (diff)
downloaduClibc-alpine-e75efd680b75b5f5658703aef78febfb0ef78dc6.tar.bz2
uClibc-alpine-e75efd680b75b5f5658703aef78febfb0ef78dc6.tar.xz
realpath: SUSv4 compliant
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index e462c1c93..536f81a1e 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -659,7 +659,6 @@ extern char *canonicalize_file_name (__const char *__name)
__THROW __nonnull ((1)) __wur;
#endif
-#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
/* Return the canonical absolute name of file NAME. If RESOLVED is
null, the result is malloc'd; otherwise, if the canonical name is
PATH_MAX chars or more, returns null with `errno' set to
@@ -667,8 +666,7 @@ extern char *canonicalize_file_name (__const char *__name)
returns the 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));
-#endif
+ char *__restrict __resolved) __THROW __wur;
/* Shorthand for type of comparison functions. */