Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcsh/include Use empty do/while for no-op.
details: https://anonhg.NetBSD.org/src/rev/eb643ac03a7a
branches: trunk
changeset: 757000:eb643ac03a7a
user: uwe <uwe%NetBSD.org@localhost>
date: Mon Aug 09 23:08:59 2010 +0000
description:
Use empty do/while for no-op.
diffstat:
sys/arch/hpcsh/include/debug.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (26 lines):
diff -r 076739b47d38 -r eb643ac03a7a sys/arch/hpcsh/include/debug.h
--- a/sys/arch/hpcsh/include/debug.h Mon Aug 09 23:07:20 2010 +0000
+++ b/sys/arch/hpcsh/include/debug.h Mon Aug 09 23:08:59 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: debug.h,v 1.4 2008/04/28 20:23:22 martin Exp $ */
+/* $NetBSD: debug.h,v 1.5 2010/08/09 23:08:59 uwe Exp $ */
/*-
* Copyright (c) 1999-2002 The NetBSD Foundation, Inc.
@@ -34,6 +34,7 @@
#include <hpc/include/debug.h>
#include "debug_hpc.h"
+
/*
* interrupt monitor
*/
@@ -50,6 +51,5 @@
};
void __dbg_heart_beat(enum heart_beat);
#else
-#define __dbg_heart_beat(x) ((void)0)
-#endif /* HPC_DEBUG_INTERRUPT_MONITOR */
-
+#define __dbg_heart_beat(x) do {} while (/* CONSTCOND */ 0)
+#endif
Home |
Main Index |
Thread Index |
Old Index