Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/include Don't use plain inline in that might en...



details:   https://anonhg.NetBSD.org/src/rev/e42e2b280dac
branches:  trunk
changeset: 806370:e42e2b280dac
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Feb 19 21:44:50 2015 +0000

description:
Don't use plain inline in that might end up compiled with -ansi.

diffstat:

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

diffs (27 lines):

diff -r 96fb43e5d7b7 -r e42e2b280dac sys/arch/arm/include/lock.h
--- a/sys/arch/arm/include/lock.h       Thu Feb 19 21:31:44 2015 +0000
+++ b/sys/arch/arm/include/lock.h       Thu Feb 19 21:44:50 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock.h,v 1.29 2015/01/02 02:00:15 christos Exp $       */
+/*     $NetBSD: lock.h,v 1.30 2015/02/19 21:44:50 joerg Exp $  */
 
 /*-
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -139,7 +139,7 @@
 }
 #endif /* !_ARM_ARCH_6 */
 
-static inline void
+static __inline void
 __arm_membar_producer(void)
 {
 #ifdef _ARM_ARCH_7
@@ -149,7 +149,7 @@
 #endif
 }
 
-static inline void
+static __inline void
 __arm_membar_consumer(void)
 {
 #ifdef _ARM_ARCH_7



Home | Main Index | Thread Index | Old Index