diff options
Diffstat (limited to 'include/env.h')
-rw-r--r-- | include/env.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/env.h b/include/env.h index 1dbe30f..4666688 100644 --- a/include/env.h +++ b/include/env.h @@ -1,5 +1,5 @@ /* - * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de> + * (C) Copyright 2014, 2018 Leo C. <erbl259-lmu@yahoo.de> * * SPDX-License-Identifier: GPL-2.0 */ @@ -9,11 +9,9 @@ #include "command.h" -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 []); +extern cmd_tbl_t cmd_tbl_env[]; +command_ret_t do_env(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); |