Drop Cygwin-only posix_memalign prototype
newlib: * libc/include/stdlib.h (posix_memalign): Drop __rtmes__ guards. cygwin: * include/cygwin/stdlib.h (posix_memalign): Drop prototype. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
fa6a5a3a74
commit
3737bc4e98
|
@ -251,11 +251,9 @@ int _EXFUN(unsetenv,(const char *__string));
|
||||||
int _EXFUN(_unsetenv_r,(struct _reent *, const char *__string));
|
int _EXFUN(_unsetenv_r,(struct _reent *, const char *__string));
|
||||||
#endif /* !__CYGWIN__ */
|
#endif /* !__CYGWIN__ */
|
||||||
|
|
||||||
#ifdef __rtems__
|
|
||||||
#if __POSIX_VISIBLE >= 200112
|
#if __POSIX_VISIBLE >= 200112
|
||||||
int _EXFUN(__nonnull (1) posix_memalign,(void **, size_t, size_t));
|
int _EXFUN(__nonnull (1) posix_memalign,(void **, size_t, size_t));
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
char * _EXFUN(_dtoa_r,(struct _reent *, double, int, int, int *, int*, char**));
|
char * _EXFUN(_dtoa_r,(struct _reent *, double, int, int, int *, int*, char**));
|
||||||
#ifndef __CYGWIN__
|
#ifndef __CYGWIN__
|
||||||
|
|
|
@ -47,9 +47,6 @@ int getpt (void);
|
||||||
#if __XSI_VISIBLE >= 600
|
#if __XSI_VISIBLE >= 600
|
||||||
int posix_openpt (int);
|
int posix_openpt (int);
|
||||||
#endif
|
#endif
|
||||||
#if __POSIX_VISIBLE >= 200112
|
|
||||||
int posix_memalign (void **, size_t, size_t);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef _COMPILING_NEWLIB
|
#ifdef _COMPILING_NEWLIB
|
||||||
#define unsetenv UNUSED_unsetenv
|
#define unsetenv UNUSED_unsetenv
|
||||||
|
|
Loading…
Reference in New Issue