X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=debug.h;h=1ede2d7217158f00db113e48321f98f306a3054a;hb=0192ed944b4b499fc9d003da4281e1d43d6f0c40;hp=fab45824467f3bcf4e6bfde67beae65936217483;hpb=16187ad5943fb671eb1374a5b97206ee260acdd9;p=bertos.git diff --git a/debug.h b/debug.h index fab45824..1ede2d72 100755 --- a/debug.h +++ b/debug.h @@ -17,6 +17,9 @@ /*#* *#* $Log$ + *#* Revision 1.8 2005/01/11 18:08:08 aleph + *#* Add empty kdump definition for debug off + *#* *#* Revision 1.7 2004/12/31 17:43:09 bernie *#* Use UNUSED_ARG instead of obsolete UNUSED macro. *#* @@ -326,6 +329,8 @@ INLINE void kdbg_init(void) { /* nop */ } INLINE void kputchar(UNUSED_ARG(char, c)) { /* nop */ } INLINE void kputs(UNUSED_ARG(const char *, str)) { /* nop */ } + INLINE void kdump(UNUSED_ARG(const void *, buf), UNUSED_ARG(size_t, len)) { /* nop */ } + #ifdef __cplusplus /* G++ can't inline functions with variable arguments... */ #define kprintf(fmt,...) do { (void)(fmt); } while(0)