public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Drop Cygwin-only posix_memalign prototype
@ 2016-03-23 10:50 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2016-03-23 10:50 UTC (permalink / raw)
To: cygwin-cvs, newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=3737bc4e98fa698bc094863bb890272d4979822d
commit 3737bc4e98fa698bc094863bb890272d4979822d
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Wed Mar 23 11:50:27 2016 +0100
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>
Diff:
---
newlib/libc/include/stdlib.h | 2 --
winsup/cygwin/include/cygwin/stdlib.h | 3 ---
2 files changed, 5 deletions(-)
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h
index 7d4ae76..363b7df 100644
--- a/newlib/libc/include/stdlib.h
+++ b/newlib/libc/include/stdlib.h
@@ -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__
diff --git a/winsup/cygwin/include/cygwin/stdlib.h b/winsup/cygwin/include/cygwin/stdlib.h
index 01c5646..002a904 100644
--- a/winsup/cygwin/include/cygwin/stdlib.h
+++ b/winsup/cygwin/include/cygwin/stdlib.h
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-03-23 10:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-23 10:50 [newlib-cygwin] Drop Cygwin-only posix_memalign prototype Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).