From ae2022c2cca9b11e1ad4d19de010d602f6a47de8 Mon Sep 17 00:00:00 2001 From: aleph Date: Tue, 11 Jan 2005 18:08:08 +0000 Subject: [PATCH] Add empty kdump definition for debug off git-svn-id: https://src.develer.com/svnoss/bertos/trunk@335 38d2e660-2303-0410-9eaa-f027e97ec537 --- debug.h | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.25.1