Let loadHistory return an error code

This is in preparation for a following patch.
This commit is contained in:
Rene Kita
2022-09-05 11:53:40 +02:00
parent de813c322c
commit f186e8331f
2 changed files with 5 additions and 4 deletions

View File

@@ -391,7 +391,7 @@ extern char *inputLineHistSearch(char *prompt, char *def_str, int flag,
extern Str unescape_spaces(Str s);
#ifdef USE_HISTORY
extern Buffer *historyBuffer(Hist *hist);
extern void loadHistory(Hist *hist);
extern int loadHistory(Hist *hist);
extern void saveHistory(Hist *hist, size_t size);
extern void ldHist(void);
#else /* not USE_HISTORY */