summaryrefslogtreecommitdiffstats
path: root/sys/sys/cdefs.h
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2015-05-15 20:53:43 +0000
committerpfg <pfg@FreeBSD.org>2015-05-15 20:53:43 +0000
commitaffef70f54ca0271932e4442d8cd39bf28313606 (patch)
tree15cc07bdfd88b0b18dd575d8814c51ce1f5f0c2b /sys/sys/cdefs.h
parent429d618553b85845904480a0a8a4b2d0af168f6d (diff)
downloadFreeBSD-src-affef70f54ca0271932e4442d8cd39bf28313606.zip
FreeBSD-src-affef70f54ca0271932e4442d8cd39bf28313606.tar.gz
Break apart the gnu_inline attribute and use "artificial" if available.
Missing #endif (in wrong place) Pointed hat: me
Diffstat (limited to 'sys/sys/cdefs.h')
-rw-r--r--sys/sys/cdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index 4f55ffc..82cdc6e 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -547,10 +547,10 @@
#define __gnu_inline __attribute__((__gnu_inline__, __artificial__))
#else
#define __gnu_inline __attribute__((__gnu_inline__))
+#endif /* artificial */
#else
#define __gnu_inline
#endif
-#endif
/* Compiler-dependent macros that rely on FreeBSD-specific extensions. */
#if defined(__FreeBSD_cc_version) && __FreeBSD_cc_version >= 300001 && \
OpenPOWER on IntegriCloud