Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys lint knows about all inline variant syntax...



details:   https://anonhg.NetBSD.org/src/rev/4318f9e71cae
branches:  trunk
changeset: 358380:4318f9e71cae
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 26 17:03:10 2017 +0000

description:
lint knows about all inline variant syntax...

diffstat:

 sys/sys/cdefs.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 011b31bc1992 -r 4318f9e71cae sys/sys/cdefs.h
--- a/sys/sys/cdefs.h   Tue Dec 26 17:02:19 2017 +0000
+++ b/sys/sys/cdefs.h   Tue Dec 26 17:03:10 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdefs.h,v 1.133 2017/07/15 13:46:02 christos Exp $     */
+/*     $NetBSD: cdefs.h,v 1.134 2017/12/26 17:03:10 christos Exp $     */
 
 /* * Copyright (c) 1991, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -369,7 +369,7 @@
 #define        __c99inline     extern __attribute__((__gnu_inline__)) __inline
 #elif defined(__GNUC__)
 #define        __c99inline     extern __inline
-#elif defined(__STDC_VERSION__)
+#elif defined(__STDC_VERSION__) || defined(__lint__)
 #define        __c99inline     __inline
 #endif
 



Home | Main Index | Thread Index | Old Index