X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=shell%2Fcmdedit.h;h=991dafcd1ded39ed2ef2cbb3570902ac3e7c83aa;hb=b89fcd44308b7551ca239c31fe26df725377f75f;hp=045588dc12b5e29b16c0cd1f15b1d8b21fff3d22;hpb=350d26bbbb127284cefb877b8380049e65665b15;p=oweals%2Fbusybox.git 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 */