Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/sommerfeld_i386mp_1]: src/sys/arch/i386/include Make C++-safe
details: https://anonhg.NetBSD.org/src/rev/9c757fff45c3
branches: sommerfeld_i386mp_1
changeset: 482524:9c757fff45c3
user: sommerfeld <sommerfeld%NetBSD.org@localhost>
date: Sun May 05 23:30:02 2002 +0000
description:
Make C++-safe
diffstat:
sys/arch/i386/include/lock.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 8f1a52f474d8 -r 9c757fff45c3 sys/arch/i386/include/lock.h
--- a/sys/arch/i386/include/lock.h Fri May 03 19:12:53 2002 +0000
+++ b/sys/arch/i386/include/lock.h Sun May 05 23:30:02 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lock.h,v 1.1.2.6 2001/12/29 18:19:31 sommerfeld Exp $ */
+/* $NetBSD: lock.h,v 1.1.2.7 2002/05/05 23:30:02 sommerfeld Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
* this "instruction", acting as a sequence point for code generation.
*/
-#define __lockbarrier() __asm __volatile("":::"memory")
+#define __lockbarrier() __asm __volatile("": : :"memory")
#ifdef LOCKDEBUG
Home |
Main Index |
Thread Index |
Old Index