aboutsummaryrefslogtreecommitdiff
path: root/shell/cmdedit.h
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-12-09 11:10:40 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-12-09 11:10:40 +0000
commitfdbbb048933389c5a2624aa77aa5af2dbea75b01 (patch)
tree41623dd3faac0290e7739fde7c7228f7fa47e18e /shell/cmdedit.h
parent6b5bd0e5abbfb6b3b925dfd8452c72589569981b (diff)
downloadbusybox-fdbbb048933389c5a2624aa77aa5af2dbea75b01.tar.gz
Command line history changes, lastpatch_71 from Vladimir N. Oleynik
Diffstat (limited to 'shell/cmdedit.h')
-rw-r--r--shell/cmdedit.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/cmdedit.h b/shell/cmdedit.h
index 045588dc1..991dafcd1 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 */