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/fb8fead102cb
branches: trunk
changeset: 336228:fb8fead102cb
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 b10639ee1a4d -r fb8fead102cb 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