Move declarations to the appropriate header file

This commit is contained in:
Rene Kita
2022-09-05 08:20:52 +02:00
parent 14c8274d16
commit e0c9a02784
2 changed files with 8 additions and 5 deletions

View File

@@ -28,4 +28,12 @@ extern char *lastHist(Hist *hist);
extern char *nextHist(Hist *hist);
extern char *prevHist(Hist *hist);
#ifdef USE_HISTORY
extern int loadHistory(Hist *hist);
extern void saveHistory(Hist *hist, size_t size);
extern void ldHist(void);
#else /* not USE_HISTORY */
#define ldHist nulcmd
#endif /* not USE_HISTORY */
#endif /* HISTORY_H */