1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

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

C++ compilation.

PR:	standards/147210
This commit is contained in:
Stefan Farfeleder 2011-10-16 10:14:33 +00:00
parent 49e3600b9c
commit 0c60230835
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226430

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 *