chiark / gitweb /
bus: replace aligned_alloc() with memalign() everywhere
authorLennart Poettering <lennart@poettering.net>
Wed, 17 Apr 2013 16:45:45 +0000 (18:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 17 Apr 2013 16:48:31 +0000 (18:48 +0200)
commitc556fe792d4075a365b276e51666a8009d7dca19
treefb8ee66ac4292ef49388a150d359939d957648cf
parent05b9b83ad3a990f1bbe417c8da377874e1e80539
bus: replace aligned_alloc() with memalign() everywhere

aligned_alloc() is C11 and not available everywhere. Also it would
require us to align the size value. So let's just invoke memalign()
instead, which is universally available and doesn't have any alignment
restrictions on the size parameter.
src/libsystemd-bus/bus-kernel.c