diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-12 15:38:57 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-12 15:38:57 +0000 |
commit | 7459fbf9f58bb7753fa3be61340dd3872aaf9951 (patch) | |
tree | d7cec6789a8a388d5a31bd9791deb63da2b48753 /c/src/lib/libbsp/sparc/shared/can | |
parent | 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-7459fbf9f58bb7753fa3be61340dd3872aaf9951.tar.bz2 |
2007-09-12 Daniel Hellstrom <daniel@gaisler.com>
* shared/can/grcan.c, shared/include/debug_defs.h, shared/spw/grspw.c:
Remove use of DEBUG_printf.
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/can')
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/can/grcan.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/can/grcan.c b/c/src/lib/libbsp/sparc/shared/can/grcan.c index 9ebe00a1d4..e8c0c6b3eb 100644 --- a/c/src/lib/libbsp/sparc/shared/can/grcan.c +++ b/c/src/lib/libbsp/sparc/shared/can/grcan.c @@ -103,29 +103,6 @@ #include <debug_defs.h> -/* -#ifdef DEBUG -#include <debug_defs.h> -#else -void silentdbg_init(void); -void silentdbg_printf(char *fmt, ...); -void silentdbg_int_printf(char *fmt, ...); -void silentdbg_get_buf(char *buf, int max); -int silentdbg_print_buf(int max); - extern int DEBUG_printf(const char *fmt, ...); - #define DBG(fmt, args...) do { silentdbg_printf(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__,## args); } while(0) - #define DBG2(fmt) do { silentdbg_printf(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__); } while(0) - #define DBGC(c,fmt, args...) do { if (DEBUG_FLAGS & c) { silentdbg_printf(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__,## args); }} while(0) - #ifdef DEBUGFUNCS - #define FUNCDBG() do { silentdbg_printf("%s\n\r",__FUNCTION__); } while(0) - #define FUNCDBG_INT() - #else - #define FUNCDBG() - #define FUNCDBG_INT() do { silentdbg_int_printf("%s\n\r",__FUNCTION__); } while(0) - #endif - -#endif -*/ /*********************************************************/ /* grcan needs to have it buffers aligned to 1k boundaries */ |