diff options
author | Glenn L McGrath | 2002-12-09 11:10:40 +0000 |
---|---|---|
committer | Glenn L McGrath | 2002-12-09 11:10:40 +0000 |
commit | fdbbb048933389c5a2624aa77aa5af2dbea75b01 (patch) | |
tree | 41623dd3faac0290e7739fde7c7228f7fa47e18e /shell/cmdedit.h | |
parent | 6b5bd0e5abbfb6b3b925dfd8452c72589569981b (diff) | |
download | busybox-fdbbb048933389c5a2624aa77aa5af2dbea75b01.zip busybox-fdbbb048933389c5a2624aa77aa5af2dbea75b01.tar.gz |
Command line history changes, lastpatch_71 from Vladimir N. Oleynik
Diffstat (limited to 'shell/cmdedit.h')
-rw-r--r-- | shell/cmdedit.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/cmdedit.h b/shell/cmdedit.h index 045588d..991dafc 100644 --- a/shell/cmdedit.h +++ b/shell/cmdedit.h @@ -3,7 +3,9 @@ int cmdedit_read_input(char* promptStr, char* command); -void load_history ( char *fromfile ); -void save_history ( char *tofile ); +#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY +void load_history ( const char *fromfile ); +void save_history ( const char *tofile ); +#endif #endif /* CMDEDIT_H */ |