Module Name:    src
Committed By:   uwe
Date:           Mon Aug  9 23:09:00 UTC 2010

Modified Files:
        src/sys/arch/hpcsh/include: debug.h

Log Message:
Use empty do/while for no-op.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/hpcsh/include/debug.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hpcsh/include/debug.h
diff -u src/sys/arch/hpcsh/include/debug.h:1.4 src/sys/arch/hpcsh/include/debug.h:1.5
--- src/sys/arch/hpcsh/include/debug.h:1.4	Mon Apr 28 20:23:22 2008
+++ src/sys/arch/hpcsh/include/debug.h	Mon Aug  9 23:08:59 2010
@@ -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

Reply via email to