]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/cmd_loadihex.c
Remove extern declarations from command_tbl.c, create .h files for that.
[z180-stamp.git] / avr / cmd_loadihex.c
index 18d5331d8b2a0d9f8fc025cae787943ccf571d4b..2c0fa9e709eca2f3641fac13fa79fbc14c137236 100644 (file)
@@ -1,15 +1,12 @@
 /*
  * (C) Copyright 2015 Leo C. <erbl259-lmu@yahoo.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+
+ * SPDX-License-Identifier:    GPL-2.0
  */
 
-#include "common.h"
-#include <stdlib.h>
+#include "cmd_loadihex.h"
 #include <ctype.h>
-#include <stdbool.h>
 
-#include "command.h"
 #include "con-utils.h"
 #include "z80-if.h"
 #include "debug.h"
@@ -151,7 +148,7 @@ int ihex_get_record(ihex_t *rec) {
 }
 
 
-command_ret_t do_loadihex(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+command_ret_t do_loadihex(cmd_tbl_t *cmdtp, uint_fast8_t flag, int argc, char * const argv[])
 {
        long offset = 0;
        uint32_t base_address = 0;