Module Name:    src
Committed By:   martin
Date:           Thu Jul 27 12:15:59 UTC 2017

Modified Files:
        src/sys/arch/vax/include: math.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/vax/include/math.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/arch/vax/include/math.h
diff -u src/sys/arch/vax/include/math.h:1.7 src/sys/arch/vax/include/math.h:1.8
--- src/sys/arch/vax/include/math.h:1.7	Mon Sep 16 15:56:24 2013
+++ src/sys/arch/vax/include/math.h	Thu Jul 27 12:15:59 2017
@@ -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
 

Reply via email to