kputnum(): Export.
[bertos.git] / debug.h
diff --git a/debug.h b/debug.h
index fab45824467f3bcf4e6bfde67beae65936217483..97f44e8125397c908fed4b3ae729e2faa4e7228b 100755 (executable)
--- a/debug.h
+++ b/debug.h
 
 /*#*
  *#* $Log$
+ *#* Revision 1.9  2005/01/25 08:36:40  bernie
+ *#* kputnum(): Export.
+ *#*
+ *#* 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.
  *#*
                /* These are implemented in drv/kdebug.c */
                void kdbg_init(void);
                void kputchar(char c);
+               int kputnum(int num);
                void kdump(const void *buf, size_t len);
                void __init_wall(long *wall, int size);
 
 
        INLINE void kdbg_init(void) { /* nop */ }
        INLINE void kputchar(UNUSED_ARG(char, c)) { /* nop */ }
+       INLINE int kputnum(UNUSED_ARG(int, num)) { return 0; }
        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)