summaryrefslogtreecommitdiff
path: root/include/debug.h
diff options
context:
space:
mode:
authorLeo C2018-07-21 13:27:15 +0200
committerLeo C2018-07-21 13:27:15 +0200
commit7eecbdacec66226ebc3959411883aeaebcf9791d (patch)
tree1e4f850854c5f4f73410a6e85ecc761544ec5c8a /include/debug.h
parent5caa8c2b8906f17ca97aad2be3d746c3b5fef8f3 (diff)
downloadz180-stamp-7eecbdacec66226ebc3959411883aeaebcf9791d.zip
Remove extern declarations from command_tbl.c, create .h files for that.
# Conflicts: # avr/env.c
Diffstat (limited to 'include/debug.h')
-rw-r--r--include/debug.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/include/debug.h b/include/debug.h
index 0ee0129..0d60177 100644
--- a/include/debug.h
+++ b/include/debug.h
@@ -11,7 +11,16 @@
#ifndef DEBUG_H_
#define DEBUG_H_
-#include "common.h"
+#include "command.h"
+
+command_ret_t do_dump_mem(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+command_ret_t do_mem_mm_avr(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+command_ret_t do_mem_nm_avr(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+command_ret_t do_eep_cp(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+command_ret_t do_pr_free_avr(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+
+void printfreelist(const char * title);
+
#ifdef DEBUG
#define _DEBUG 1
@@ -43,8 +52,4 @@
#endif
#endif /* 0 */
-
-void printfreelist(const char * title);
-
-
#endif /* DEBUG_H_ */