Module Name:    src
Committed By:   christos
Date:           Tue Dec 26 17:03:10 UTC 2017

Modified Files:
        src/sys/sys: cdefs.h

Log Message:
lint knows about all inline variant syntax...


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/sys/cdefs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/cdefs.h
diff -u src/sys/sys/cdefs.h:1.133 src/sys/sys/cdefs.h:1.134
--- src/sys/sys/cdefs.h:1.133	Sat Jul 15 09:46:02 2017
+++ src/sys/sys/cdefs.h	Tue Dec 26 12:03:10 2017
@@ -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
 

Reply via email to