mirror of
https://review.haiku-os.org/haiku
synced 2025-01-20 05:21:28 +01:00
48eb7d981d
Someone on the internet found out gcc only understand posix_memalign. The alloc_align attribute may be applied to a function that returns a pointer and takes at least one argument of an integer or enumerated type. It indicates that the returned pointer is aligned on a boundary given by the function argument at position. Change-Id: I4b0af6ef3020da1fb460652117286193d5d72f1e Reviewed-on: https://review.haiku-os.org/c/haiku/+/4514 Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>