]> git.ipfire.org Git - thirdparty/util-linux.git/commit
include/c: check returns_nonnull function attribute with __GNUC_PREREQ
authorSami Kerola <kerolasa@iki.fi>
Sun, 2 Dec 2018 16:28:22 +0000 (16:28 +0000)
committerSami Kerola <kerolasa@iki.fi>
Sun, 2 Dec 2018 16:28:22 +0000 (16:28 +0000)
commit3ccbdf7aa494ce854d9f346ab6bd6f51b952ff32
tree53457e1bccb592aab54c9ad3662d9239e396ae1c
parent0d79f5805ff2d7651ec70b06753e908cc782857a
include/c: check returns_nonnull function attribute with __GNUC_PREREQ

Karel pointed out previous commit could have been better in github feedback,
so lets use the version check macro instead of compare versions directly.

Previous-commit: f1b327f8d5c8de7bf7fae99e85765d0954a25bac
Reference: https://github.com/karelzak/util-linux/pull/704#issuecomment-432605211
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
include/c.h