diff options
author | Karel Zak | 2018-12-10 11:58:04 +0100 |
---|---|---|
committer | Karel Zak | 2018-12-10 11:58:04 +0100 |
commit | d046b6754113797987d4dd71f3eb7bfa58ecfd55 (patch) | |
tree | c365664675d2413e362fbde57cdea0dcfabb177f /include | |
parent | fstrim: trim also root FS on --fstab (diff) | |
parent | include/c: check returns_nonnull function attribute with __GNUC_PREREQ (diff) | |
download | kernel-qcow2-util-linux-d046b6754113797987d4dd71f3eb7bfa58ecfd55.tar.gz kernel-qcow2-util-linux-d046b6754113797987d4dd71f3eb7bfa58ecfd55.tar.xz kernel-qcow2-util-linux-d046b6754113797987d4dd71f3eb7bfa58ecfd55.zip |
Merge branch '2018wk48' of https://github.com/kerolasa/util-linux
* '2018wk48' of https://github.com/kerolasa/util-linux:
include/c: check returns_nonnull function attribute with __GNUC_PREREQ
Diffstat (limited to 'include')
-rw-r--r-- | include/c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/c.h b/include/c.h index f1e329819..fb6835253 100644 --- a/include/c.h +++ b/include/c.h @@ -80,7 +80,7 @@ # endif #endif -#if (__GNUC__ >= 5) || ((__GNUC__ >= 4) && (__GNUC_MINOR__ >= 9)) +#if __GNUC_PREREQ (4, 9) # define __ul_returns_nonnull __attribute__((returns_nonnull)) #else # define __ul_returns_nonnull |