summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2018-12-10 11:58:04 +0100
committerKarel Zak2018-12-10 11:58:04 +0100
commitd046b6754113797987d4dd71f3eb7bfa58ecfd55 (patch)
treec365664675d2413e362fbde57cdea0dcfabb177f /include
parentfstrim: trim also root FS on --fstab (diff)
parentinclude/c: check returns_nonnull function attribute with __GNUC_PREREQ (diff)
downloadkernel-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.h2
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