Add empty kdump definition for debug off
authoraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 11 Jan 2005 18:08:08 +0000 (18:08 +0000)
committeraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 11 Jan 2005 18:08:08 +0000 (18:08 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@335 38d2e660-2303-0410-9eaa-f027e97ec537

debug.h

diff --git a/debug.h b/debug.h
index fab45824467f3bcf4e6bfde67beae65936217483..1ede2d7217158f00db113e48321f98f306a3054a 100755 (executable)
--- 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.
  *#*
        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)