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 mark unused arguments as such



details:   https://anonhg.NetBSD.org/src/rev/b7994ab6dce5
branches:  trunk
changeset: 373223:b7994ab6dce5
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 24 17:50:18 2023 +0000

description:
mark unused arguments as such

diffstat:

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

diffs (20 lines):

diff -r 2a4b2e96b430 -r b7994ab6dce5 sys/arch/vax/include/math.h
--- a/sys/arch/vax/include/math.h       Tue Jan 24 09:57:16 2023 +0000
+++ b/sys/arch/vax/include/math.h       Tue Jan 24 17:50:18 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: math.h,v 1.8 2017/07/27 12:15:59 martin Exp $  */
+/*     $NetBSD: math.h,v 1.9 2023/01/24 17:50:18 christos 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 __unused) { return 0; }
+static __inline int __isnan(double __x __unused) { return 0; }
 #define        __HAVE_INLINE___ISINF
 #define        __HAVE_INLINE___ISNAN
 



Home | Main Index | Thread Index | Old Index