diff options
author | Leo C | 2018-07-21 13:27:15 +0200 |
---|---|---|
committer | Leo C | 2018-07-21 13:27:15 +0200 |
commit | 7eecbdacec66226ebc3959411883aeaebcf9791d (patch) | |
tree | 1e4f850854c5f4f73410a6e85ecc761544ec5c8a /include/env.h | |
parent | 5caa8c2b8906f17ca97aad2be3d746c3b5fef8f3 (diff) | |
download | z180-stamp-7eecbdacec66226ebc3959411883aeaebcf9791d.zip |
Remove extern declarations from command_tbl.c, create .h files for that.
# Conflicts:
# avr/env.c
Diffstat (limited to 'include/env.h')
-rw-r--r-- | include/env.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/env.h b/include/env.h index bc44413..1dbe30f 100644 --- a/include/env.h +++ b/include/env.h @@ -7,10 +7,14 @@ #ifndef ENV_H #define ENV_H -#include <stdbool.h> +#include "command.h" -int env_init(void); +command_ret_t do_env_print(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_env_default(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_env_set(cmd_tbl_t *, uint_fast8_t, int, char * const []); +command_ret_t do_env_save(cmd_tbl_t *, uint_fast8_t, int, char * const []); +int env_init(void); char *getenv_str(const MEMX char *name); unsigned long getenv_ulong(const MEMX char *name, int base, unsigned long default_val); bool getenv_yesno(const MEMX char *name); |