mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-11 12:50:58 +08:00
Fix aligned_alloc prototype
This commit is contained in:
parent
0c023bb722
commit
8b43a4cc56
@ -511,7 +511,8 @@ extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
|
||||
|
||||
#ifdef __USE_ISOC11
|
||||
/* ISO C variant of aligned allocation. */
|
||||
extern int aligned_alloc (size_t __alignment, size_t __size) __THROW __wur;
|
||||
extern void *aligned_alloc (size_t __alignment, size_t __size)
|
||||
__THROW __wur __attribute__ ((__malloc__, __alloc_size__ (2)));
|
||||
#endif
|
||||
|
||||
__BEGIN_NAMESPACE_STD
|
||||
|
Loading…
Reference in New Issue
Block a user