sanitize cmdedit a bit (group functions by task etc)
This commit is contained in:
parent
7b1f23610f
commit
82b39e83ab
2 changed files with 368 additions and 395 deletions
747
shell/cmdedit.c
747
shell/cmdedit.c
File diff suppressed because it is too large
Load diff
|
@ -4,11 +4,11 @@
|
||||||
|
|
||||||
int cmdedit_read_input(char* promptStr, char* command);
|
int cmdedit_read_input(char* promptStr, char* command);
|
||||||
|
|
||||||
#ifdef CONFIG_ASH
|
#if ENABLE_ASH
|
||||||
extern const char *cmdedit_path_lookup;
|
extern const char *cmdedit_path_lookup;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
|
#if ENABLE_FEATURE_COMMAND_SAVEHISTORY
|
||||||
void load_history(const char *fromfile);
|
void load_history(const char *fromfile);
|
||||||
void save_history(const char *tofile);
|
void save_history(const char *tofile);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue