From dab74a42d544d3f45777eff471f1ee0166b4aaae Mon Sep 17 00:00:00 2001 From: Leo C Date: Sat, 28 Jul 2018 12:47:35 +0200 Subject: Fix help, env subcommands --- include/env.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include') 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. + * (C) Copyright 2014, 2018 Leo C. * * 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); -- cgit v1.2.3