summaryrefslogtreecommitdiff
path: root/shell/cmdedit.h
diff options
context:
space:
mode:
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 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 */