From 7eecbdacec66226ebc3959411883aeaebcf9791d Mon Sep 17 00:00:00 2001 From: Leo C Date: Sat, 21 Jul 2018 13:27:15 +0200 Subject: Remove extern declarations from command_tbl.c, create .h files for that. # Conflicts: # avr/env.c --- include/debug.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'include/debug.h') 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_ */ -- cgit v1.2.3