diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 0a8d836bc..b740c8d30 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,4 +1,8 @@ -3013-11-19 Jennifer Averett +2013-11-20 Corinna Vinschen + + * libc/include/stdlib.h: Declare realpath only if !__STRICT_ANSI__. + +2013-11-19 Jennifer Averett * libc/sys/rtems/sys/cpuset.h: New file. diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h index 9433af4ce..3b421dd0c 100644 --- a/newlib/libc/include/stdlib.h +++ b/newlib/libc/include/stdlib.h @@ -118,12 +118,12 @@ int _EXFUN(_mkstemp_r, (struct _reent *, char *)); int _EXFUN(_mkstemps_r, (struct _reent *, char *, int)); char * _EXFUN(_mktemp_r, (struct _reent *, char *) _ATTRIBUTE ((__warning__ ("the use of `mktemp' is dangerous; use `mkstemp' instead")))); #endif -char * _EXFUN(realpath, (const char *__restrict path, char *__restrict resolved_path)); _VOID _EXFUN(qsort,(_PTR __base, size_t __nmemb, size_t __size, __compar_fn_t _compar)); int _EXFUN(rand,(_VOID)); _PTR _EXFUN_NOTHROW(realloc,(_PTR __r, size_t __size)); #ifndef __STRICT_ANSI__ _PTR _EXFUN(reallocf,(_PTR __r, size_t __size)); +char * _EXFUN(realpath, (const char *__restrict path, char *__restrict resolved_path)); #endif _VOID _EXFUN(srand,(unsigned __seed)); double _EXFUN(strtod,(const char *__restrict __n, char **__restrict __end_PTR));