Adjust posix_memalign() prototype to match what we define in stdlib.h for

C++ compilation.

PR:	standards/147210
This commit is contained in:
stefanf 2011-10-16 10:14:33 +00:00
parent d4ce73cfd5
commit abe2037bc7

View File

@ -34,7 +34,7 @@
#ifndef __cplusplus
extern int posix_memalign (void **, size_t, size_t);
#else
extern "C" int posix_memalign (void **, size_t, size_t) throw ();
extern "C" int posix_memalign (void **, size_t, size_t);
#endif
static __inline void *