Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-11-20 13:46:39 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-11-20 13:46:39 +0400
commit8273b2112ff066756d80c8ba1622aa14574fc5d3 (patch)
treede6f29a4003bf96d07be8a0262286dc0e1ed3af2
parent8856f1f00e5f9cd88def245222c55297130d869b (diff)
* libc/include/stdlib.h: Declare realpath only if !__STRICT_ANSI__.
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/libc/include/stdlib.h2
2 files changed, 6 insertions, 2 deletions
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 <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.
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));