diff packages/kernel/current/include/test/stackmon.h @ 371:c030434df232

Improve include file to avoid build errors (when used elsewhere)
author gthomas
date Wed, 16 Oct 2002 14:28:41 +0000
parents d2c90368aeef
children 68e9fbe50ee5
line wrap: on
line diff
--- a/packages/kernel/current/include/test/stackmon.h
+++ b/packages/kernel/current/include/test/stackmon.h
@@ -74,7 +74,7 @@
 #endif
 
 #ifndef STACKMON_PRINTF
-externC void diag_printf(const char *, ...);
+#include <cyg/infra/diag.h>
 #define STACKMON_PRINTF diag_printf
 #endif