* libc/include/stdlib.h: Declare realpath only if !__STRICT_ANSI__.

This commit is contained in:
Corinna Vinschen 2013-11-20 09:46:39 +00:00
parent 8856f1f00e
commit 8273b2112f
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,8 @@
3013-11-19 Jennifer Averett <jennifer.averett@oarcorp.com> 2013-11-20 Corinna Vinschen <vinschen@redhat.com>
* libc/include/stdlib.h: Declare realpath only if !__STRICT_ANSI__.
2013-11-19 Jennifer Averett <jennifer.averett@oarcorp.com>
* libc/sys/rtems/sys/cpuset.h: New file. * libc/sys/rtems/sys/cpuset.h: New file.

View File

@ -118,12 +118,12 @@ int _EXFUN(_mkstemp_r, (struct _reent *, char *));
int _EXFUN(_mkstemps_r, (struct _reent *, char *, int)); 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")))); char * _EXFUN(_mktemp_r, (struct _reent *, char *) _ATTRIBUTE ((__warning__ ("the use of `mktemp' is dangerous; use `mkstemp' instead"))));
#endif #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)); _VOID _EXFUN(qsort,(_PTR __base, size_t __nmemb, size_t __size, __compar_fn_t _compar));
int _EXFUN(rand,(_VOID)); int _EXFUN(rand,(_VOID));
_PTR _EXFUN_NOTHROW(realloc,(_PTR __r, size_t __size)); _PTR _EXFUN_NOTHROW(realloc,(_PTR __r, size_t __size));
#ifndef __STRICT_ANSI__ #ifndef __STRICT_ANSI__
_PTR _EXFUN(reallocf,(_PTR __r, size_t __size)); _PTR _EXFUN(reallocf,(_PTR __r, size_t __size));
char * _EXFUN(realpath, (const char *__restrict path, char *__restrict resolved_path));
#endif #endif
_VOID _EXFUN(srand,(unsigned __seed)); _VOID _EXFUN(srand,(unsigned __seed));
double _EXFUN(strtod,(const char *__restrict __n, char **__restrict __end_PTR)); double _EXFUN(strtod,(const char *__restrict __n, char **__restrict __end_PTR));