mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +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:
parent
49e3600b9c
commit
0c60230835
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226430
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user