From aed5f73fa8123aa29aa20df26c6f897cbbdfeca6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 19 Nov 2013 17:32:24 +0000 Subject: 2013-11-18 Joel Sherrill * libc/include/stdlib.h: Add prototype of realpath(). * libc/sys/linux/realpath.c: Add restrict keyword. --- newlib/libc/include/stdlib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'newlib/libc/include/stdlib.h') diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h index 4afc3f967..9433af4ce 100644 --- a/newlib/libc/include/stdlib.h +++ b/newlib/libc/include/stdlib.h @@ -118,6 +118,7 @@ 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)); -- cgit v1.2.3