diff options
Diffstat (limited to 'include/stdlib.h')
| -rw-r--r-- | include/stdlib.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index e2e4380..22f1f2b 100644 --- a/include/stdlib.h +++ b/include/stdlib.h | |||
| @@ -15,8 +15,7 @@ extern "C" { | |||
| 15 | 15 | ||
| 16 | #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | 16 | #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) |
| 17 | #undef realpath | 17 | #undef realpath |
| 18 | extern char *__realpath_orig(const char *, char *) | 18 | __typeof__(realpath) __realpath_orig __asm__(__USER_LABEL_PREFIX__ "realpath"); |
| 19 | __asm__(__USER_LABEL_PREFIX__ "realpath"); | ||
| 20 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) | 19 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 21 | char *realpath(const char *path, char *resolved) | 20 | char *realpath(const char *path, char *resolved) |
| 22 | { | 21 | { |
