comparison 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
comparison
equal deleted inserted replaced
370:3dded0c88355 371:c030434df232
72 # endif 72 # endif
73 # include <cyg/kernel/smp.hxx> 73 # include <cyg/kernel/smp.hxx>
74 #endif 74 #endif
75 75
76 #ifndef STACKMON_PRINTF 76 #ifndef STACKMON_PRINTF
77 externC void diag_printf(const char *, ...); 77 #include <cyg/infra/diag.h>
78 #define STACKMON_PRINTF diag_printf 78 #define STACKMON_PRINTF diag_printf
79 #endif 79 #endif
80 80
81 // ------------------------------------------------------------------------ 81 // ------------------------------------------------------------------------
82 // Utility function for actually counting a stack 82 // Utility function for actually counting a stack