summaryrefslogtreecommitdiffstats
path: root/libc-compat.h
AgeCommit message (Collapse)Author
2015-10-26explicitely ignore return value of symlink(3) callDaniel Golle
glibc sets __attribute_warn_unused_result__ on symlink(3) if FORTIFY_SOURCE is set. This breaks procd which deliberately ignores the result of the symlink(3) call early during init as there wouldn't be anything better to do in that case other than ignoring the error and trying to survive. Introduce libc-compat.h to work-around libc anomalities. Signed-off-by: Daniel Golle <daniel@makrotopia.org>