aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-11-17 17:30:30 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-11-17 17:30:30 +0000
commita2f1155cf2c41e8a388faba9e1609adc2fea0255 (patch)
tree02d8d1a81de69c20fd04765e94e27a5b4a22c8c9 /newlib
parent6e17cee57bae7447ee61a14e77bfe41f6efc8cdd (diff)
downloadnewlib-a2f1155cf2c41e8a388faba9e1609adc2fea0255.zip
newlib-a2f1155cf2c41e8a388faba9e1609adc2fea0255.tar.gz
newlib-a2f1155cf2c41e8a388faba9e1609adc2fea0255.tar.bz2
* libc/include/stdlib.h (getprogname): Declare for Cygwin.
(setprogname): Ditto.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/stdlib.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 4bf935d..23eb253 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-17 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/include/stdlib.h (getprogname): Declare for Cygwin.
+ (setprogname): Ditto.
+
2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
* libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h
index 3f0d003..5bfe4f7 100644
--- a/newlib/libc/include/stdlib.h
+++ b/newlib/libc/include/stdlib.h
@@ -66,6 +66,9 @@ _VOID _EXFUN(exit,(int __status) _ATTRIBUTE ((noreturn)));
_VOID _EXFUN(free,(_PTR));
char * _EXFUN(getenv,(const char *__string));
char * _EXFUN(_getenv_r,(struct _reent *, const char *__string));
+#ifdef __CYGWIN__
+const char *_EXFUN(getprogname,(void));
+#endif
char * _EXFUN(_findenv,(_CONST char *, int *));
char * _EXFUN(_findenv_r,(struct _reent *, _CONST char *, int *));
long _EXFUN(labs,(long));
@@ -90,6 +93,9 @@ char * _EXFUN(mktemp,(char *));
_VOID _EXFUN(qsort,(_PTR __base, size_t __nmemb, size_t __size, int(*_compar)(const _PTR, const _PTR)));
int _EXFUN(rand,(_VOID));
_PTR _EXFUN(realloc,(_PTR __r, size_t __size));
+#ifdef __CYGWIN__
+void _EXFUN(setprogname,(const char *));
+#endif
_VOID _EXFUN(srand,(unsigned __seed));
double _EXFUN(strtod,(const char *__n, char **__end_PTR));
double _EXFUN(_strtod_r,(struct _reent *,const char *__n, char **__end_PTR));