Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/include Some stupid pkgsrc stuff insists on -st...



details:   https://anonhg.NetBSD.org/src/rev/22e80e9d2bee
branches:  trunk
changeset: 825668:22e80e9d2bee
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Jul 27 12:15:59 2017 +0000

description:
Some stupid pkgsrc stuff insists on -std=c89, duh!
Use __inline instead of inline.

diffstat:

 sys/arch/vax/include/math.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 463365fe344e -r 22e80e9d2bee sys/arch/vax/include/math.h
--- a/sys/arch/vax/include/math.h       Thu Jul 27 10:56:42 2017 +0000
+++ b/sys/arch/vax/include/math.h       Thu Jul 27 12:15:59 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: math.h,v 1.7 2013/09/16 15:56:24 martin Exp $  */
+/*     $NetBSD: math.h,v 1.8 2017/07/27 12:15:59 martin Exp $  */
 
 #ifndef _VAX_MATH_H_
 #define _VAX_MATH_H_
@@ -11,8 +11,8 @@
 #define        __INFINITY      1.0E+39F
 #endif
 
-static inline int __isinf(double __x) { return 0; }
-static inline int __isnan(double __x) { return 0; }
+static __inline int __isinf(double __x) { return 0; }
+static __inline int __isnan(double __x) { return 0; }
 #define        __HAVE_INLINE___ISINF
 #define        __HAVE_INLINE___ISNAN
 



Home | Main Index | Thread Index | Old Index