]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/env.c
Remove extern declarations from command_tbl.c, create .h files for that.
[z180-stamp.git] / avr / env.c
index 1b2e6274a1663e42c8276eae2adff1da4dd665ee..4f37590e891f8cad0e65c77dc708f8b1a2c18b23 100644 (file)
--- a/avr/env.c
+++ b/avr/env.c
@@ -4,10 +4,7 @@
  * SPDX-License-Identifier:    GPL-2.0
  */
 
-#include "common.h"
-#include <string.h>
-#include <stdlib.h>
-#include <stdbool.h>
+#include "env.h"
 #include <avr/eeprom.h>
 
 #include "config.h"
@@ -15,8 +12,6 @@
 #include "xmalloc.h"
 #include "crc.h"
 #include "getopt-min.h"
-#include "command.h"
-#include "env.h"
 
 
 #define ENV_SIZE       (CONFIG_ENV_SIZE - sizeof(uint16_t) -1)