Fix compile error, the indenting really needs to be fixed here
[oweals/busybox.git] / shell / cmdedit.h
index b96ffd37327bb73a909d8c140af8b6ebc06d7508..991dafcd1ded39ed2ef2cbb3570902ac3e7c83aa 100644 (file)
@@ -1,13 +1,11 @@
 #ifndef CMDEDIT_H
 #define CMDEDIT_H
 
-#ifdef BB_FEATURE_SH_COMMAND_EDITING
-#include <stddef.h>
+int     cmdedit_read_input(char* promptStr, char* command);
 
-void cmdedit_init(void);
-void cmdedit_terminate(void);
-void cmdedit_read_input(char* promptStr, char* command);               /* read a line of input */
-
-#endif /* BB_FEATURE_SH_COMMAND_EDITING */
+#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
+void    load_history ( const char *fromfile );
+void    save_history ( const char *tofile );
+#endif
 
 #endif /* CMDEDIT_H */