Source-Changes-HG archive

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

[src/trunk]: src/sys/sys use __inline to fix nspr's configure issue



details:   https://anonhg.NetBSD.org/src/rev/d9202e2ec587
branches:  trunk
changeset: 778125:d9202e2ec587
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 17 16:48:35 2012 +0000

description:
use __inline to fix nspr's configure issue

diffstat:

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

diffs (20 lines):

diff -r 5ce8de9ebc28 -r d9202e2ec587 sys/sys/cdefs.h
--- a/sys/sys/cdefs.h   Sat Mar 17 16:40:14 2012 +0000
+++ b/sys/sys/cdefs.h   Sat Mar 17 16:48:35 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdefs.h,v 1.94 2012/03/15 00:09:08 christos Exp $      */
+/*     $NetBSD: cdefs.h,v 1.95 2012/03/17 16:48:35 christos Exp $      */
 
 /*
  * Copyright (c) 1991, 1993
@@ -534,8 +534,8 @@
     (~((1ULL << (sizeof(t) * NBBY)) - 1)) : 0ULL)
 
 #ifndef __ASSEMBLER__
-static inline long long __zeroll(void) { return 0; }
-static inline int __negative_p(double x) { return x < 0; }
+static __inline long long __zeroll(void) { return 0; }
+static __inline int __negative_p(double x) { return x < 0; }
 #else
 #define __zeroll() (0LL)
 #define __negative_p(x) ((x) < 0)



Home | Main Index | Thread Index | Old Index