summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-06-08 17:27:25 +0000
committered <ed@FreeBSD.org>2009-06-08 17:27:25 +0000
commit70abc0766a93a8f9061b9a33f6ea9e9cafe905c9 (patch)
tree428b1c48ea1d44d07a6ef60625cd884eeaf95a75 /sys/amd64
parent8b1f38241aaf07621c062901b7946145be2862b6 (diff)
downloadFreeBSD-src-70abc0766a93a8f9061b9a33f6ea9e9cafe905c9.zip
FreeBSD-src-70abc0766a93a8f9061b9a33f6ea9e9cafe905c9.tar.gz
Remove __gnu89_inline.
Now that we use C99 almost everywhere, just use C99-style in the pmap code. Since the pmap code is the only consumer of __gnu89_inline, remove it from cdefs.h as well. Because the flag was only introduced 17 months ago, I don't expect any problems. Reviewed by: alc
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index e152d3f..9e472e7 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -153,7 +153,7 @@ __FBSDID("$FreeBSD$");
#endif
#if !defined(DIAGNOSTIC)
-#define PMAP_INLINE __gnu89_inline
+#define PMAP_INLINE extern inline
#else
#define PMAP_INLINE
#endif
OpenPOWER on IntegriCloud