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:
		@@ -251,11 +251,9 @@ int	_EXFUN(unsetenv,(const char *__string));
 | 
			
		||||
int	_EXFUN(_unsetenv_r,(struct _reent *, const char *__string));
 | 
			
		||||
#endif /* !__CYGWIN__ */
 | 
			
		||||
 | 
			
		||||
#ifdef __rtems__
 | 
			
		||||
#if __POSIX_VISIBLE >= 200112
 | 
			
		||||
int _EXFUN(__nonnull (1) posix_memalign,(void **, size_t, size_t));
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
char *	_EXFUN(_dtoa_r,(struct _reent *, double, int, int, int *, int*, char**));
 | 
			
		||||
#ifndef __CYGWIN__
 | 
			
		||||
 
 | 
			
		||||
@@ -47,9 +47,6 @@ int getpt (void);
 | 
			
		||||
#if __XSI_VISIBLE >= 600
 | 
			
		||||
int posix_openpt (int);
 | 
			
		||||
#endif
 | 
			
		||||
#if __POSIX_VISIBLE >= 200112
 | 
			
		||||
int posix_memalign (void **, size_t, size_t);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef _COMPILING_NEWLIB
 | 
			
		||||
#define unsetenv UNUSED_unsetenv
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user