diff options
author | Christopher Faylor <me@cgf.cx> | 2000-10-30 01:08:58 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-10-30 01:08:58 +0000 |
commit | 86fff69f622c1e9e07dbc9b9d81bd35b9ddb1759 (patch) | |
tree | 281fa80b4c6c3b4a49a8d868969f23394f0606a5 /newlib/libc/include/stdlib.h | |
parent | 75a57bf04a04e7cacbfc1279aa6c35f3f16775d1 (diff) | |
download | cygnal-86fff69f622c1e9e07dbc9b9d81bd35b9ddb1759.tar.gz cygnal-86fff69f622c1e9e07dbc9b9d81bd35b9ddb1759.tar.bz2 cygnal-86fff69f622c1e9e07dbc9b9d81bd35b9ddb1759.zip |
* libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
* libc/include/malloc.h: Ditto. Also remove obsolete declaration.
Diffstat (limited to 'newlib/libc/include/stdlib.h')
-rw-r--r-- | newlib/libc/include/stdlib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h index f2feebe30..642b71e95 100644 --- a/newlib/libc/include/stdlib.h +++ b/newlib/libc/include/stdlib.h @@ -92,7 +92,6 @@ unsigned long _EXFUN(_strtoul_r,(struct _reent *,const char *_n_PTR, char **_end int _EXFUN(system,(const char *__string)); #ifndef __STRICT_ANSI__ -_VOID _EXFUN(cfree,(_PTR)); int _EXFUN(putenv,(const char *__string)); int _EXFUN(_putenv_r,(struct _reent *, const char *__string)); int _EXFUN(setenv,(const char *__string, const char *__value, int __overwrite)); @@ -109,7 +108,9 @@ char * _EXFUN(ecvtf,(float,int,int *,int *)); char * _EXFUN(dtoa,(double, int, int, int *, int*, char**)); int _EXFUN(rand_r,(unsigned *__seed)); -#ifdef __CYGWIN__ +#ifndef __CYGWIN__ +_VOID _EXFUN(cfree,(_PTR)); +#else char * _EXFUN(realpath,(const char *, char *)); void _EXFUN(unsetenv,(const char *__string)); void _EXFUN(_unsetenv_r,(struct _reent *, const char *__string)); |