Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Be nicer to software that insists on -ansi and use ...



details:   https://anonhg.NetBSD.org/src/rev/599538a1f45e
branches:  trunk
changeset: 762677:599538a1f45e
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Feb 25 14:07:12 2011 +0000

description:
Be nicer to software that insists on -ansi and use __inline.

diffstat:

 sys/arch/alpha/include/mcontext.h   |  4 ++--
 sys/arch/amd64/include/mcontext.h   |  4 ++--
 sys/arch/hppa/include/mcontext.h    |  4 ++--
 sys/arch/i386/include/mcontext.h    |  4 ++--
 sys/arch/mips/include/mcontext.h    |  4 ++--
 sys/arch/powerpc/include/mcontext.h |  4 ++--
 sys/arch/sh3/include/mcontext.h     |  4 ++--
 sys/arch/sparc/include/mcontext.h   |  4 ++--
 8 files changed, 16 insertions(+), 16 deletions(-)

diffs (144 lines):

diff -r ead346b9b987 -r 599538a1f45e sys/arch/alpha/include/mcontext.h
--- a/sys/arch/alpha/include/mcontext.h Fri Feb 25 13:50:18 2011 +0000
+++ b/sys/arch/alpha/include/mcontext.h Fri Feb 25 14:07:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mcontext.h,v 1.6 2011/02/24 04:28:44 joerg Exp $       */
+/*     $NetBSD: mcontext.h,v 1.7 2011/02/25 14:07:12 joerg Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
 
 #define        _UC_MACHINE_SET_PC(uc, pc)      _UC_MACHINE_PC(uc) = (pc)
 
-static inline void *
+static __inline void *
 __lwp_getprivate_fast(void)
 {
        register void *__tmp __asm("$0");
diff -r ead346b9b987 -r 599538a1f45e sys/arch/amd64/include/mcontext.h
--- a/sys/arch/amd64/include/mcontext.h Fri Feb 25 13:50:18 2011 +0000
+++ b/sys/arch/amd64/include/mcontext.h Fri Feb 25 14:07:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mcontext.h,v 1.13 2011/02/24 04:28:44 joerg Exp $      */
+/*     $NetBSD: mcontext.h,v 1.14 2011/02/25 14:07:12 joerg Exp $      */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -84,7 +84,7 @@
 
 #define        __UCONTEXT_SIZE 784
 
-static inline void *
+static __inline void *
 __lwp_getprivate_fast(void)
 {
        void *__tmp;
diff -r ead346b9b987 -r 599538a1f45e sys/arch/hppa/include/mcontext.h
--- a/sys/arch/hppa/include/mcontext.h  Fri Feb 25 13:50:18 2011 +0000
+++ b/sys/arch/hppa/include/mcontext.h  Fri Feb 25 14:07:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mcontext.h,v 1.5 2011/02/24 04:28:45 joerg Exp $       */
+/*     $NetBSD: mcontext.h,v 1.6 2011/02/25 14:07:12 joerg Exp $       */
 
 #ifndef _HPPA_MCONTEXT_H_
 #define        _HPPA_MCONTEXT_H_
@@ -57,7 +57,7 @@
        (uc)->uc_mcontext.__gregs[_REG_PCOQT] = (pc) + 4;               \
 } while (/*CONSTCOND*/0)
 
-static inline void *
+static __inline void *
 __lwp_getprivate_fast(void)
 {
        register void *__tmp;
diff -r ead346b9b987 -r 599538a1f45e sys/arch/i386/include/mcontext.h
--- a/sys/arch/i386/include/mcontext.h  Fri Feb 25 13:50:18 2011 +0000
+++ b/sys/arch/i386/include/mcontext.h  Fri Feb 25 14:07:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mcontext.h,v 1.9 2011/02/24 04:28:46 joerg Exp $       */
+/*     $NetBSD: mcontext.h,v 1.10 2011/02/25 14:07:13 joerg Exp $      */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -127,7 +127,7 @@
 
 #define        __UCONTEXT_SIZE 776
 
-static inline void *
+static __inline void *
 __lwp_getprivate_fast(void)
 {
        void *__tmp;
diff -r ead346b9b987 -r 599538a1f45e sys/arch/mips/include/mcontext.h
--- a/sys/arch/mips/include/mcontext.h  Fri Feb 25 13:50:18 2011 +0000
+++ b/sys/arch/mips/include/mcontext.h  Fri Feb 25 14:07:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mcontext.h,v 1.15 2011/02/24 04:28:47 joerg Exp $      */
+/*     $NetBSD: mcontext.h,v 1.16 2011/02/25 14:07:13 joerg Exp $      */
 
 /*-
  * Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
@@ -187,7 +187,7 @@
 #endif
 
 #ifndef __ASSEMBLER__
-static inline void *
+static __inline void *
 __lwp_getprivate_fast(void)
 {
        register void *__tcb;
diff -r ead346b9b987 -r 599538a1f45e sys/arch/powerpc/include/mcontext.h
--- a/sys/arch/powerpc/include/mcontext.h       Fri Feb 25 13:50:18 2011 +0000
+++ b/sys/arch/powerpc/include/mcontext.h       Fri Feb 25 14:07:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mcontext.h,v 1.11 2011/02/24 04:28:47 joerg Exp $      */
+/*     $NetBSD: mcontext.h,v 1.12 2011/02/25 14:07:13 joerg Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -122,7 +122,7 @@
 
 #define        _UC_MACHINE_SET_PC(uc, pc)      _UC_MACHINE_PC(uc) = (pc)
 
-static inline void *
+static __inline void *
 __lwp_getprivate_fast(void)
 {
        register void *__tcb;
diff -r ead346b9b987 -r 599538a1f45e sys/arch/sh3/include/mcontext.h
--- a/sys/arch/sh3/include/mcontext.h   Fri Feb 25 13:50:18 2011 +0000
+++ b/sys/arch/sh3/include/mcontext.h   Fri Feb 25 14:07:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mcontext.h,v 1.8 2011/02/24 04:28:47 joerg Exp $       */
+/*     $NetBSD: mcontext.h,v 1.9 2011/02/25 14:07:13 joerg Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -93,7 +93,7 @@
 #define        _UC_SETSTACK            0x10000
 #define        _UC_CLRSTACK            0x20000
 
-static inline void *
+static __inline void *
 __lwp_getprivate_fast(void)
 {
        register void *__gbr;
diff -r ead346b9b987 -r 599538a1f45e sys/arch/sparc/include/mcontext.h
--- a/sys/arch/sparc/include/mcontext.h Fri Feb 25 13:50:18 2011 +0000
+++ b/sys/arch/sparc/include/mcontext.h Fri Feb 25 14:07:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mcontext.h,v 1.11 2011/02/24 04:28:48 joerg Exp $      */
+/*     $NetBSD: mcontext.h,v 1.12 2011/02/25 14:07:13 joerg Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -160,7 +160,7 @@
        (uc)->uc_mcontext.__gregs[_REG_nPC] = (pc) + 4;                 \
 } while (/*CONSTCOND*/0)
 
-static inline void *
+static __inline void *
 __lwp_getprivate_fast(void)
 {
        register void *__tmp;



Home | Main Index | Thread Index | Old Index