Move declarations to the appropriate header file
This commit is contained in:
@@ -28,4 +28,12 @@ extern char *lastHist(Hist *hist);
|
|||||||
extern char *nextHist(Hist *hist);
|
extern char *nextHist(Hist *hist);
|
||||||
extern char *prevHist(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 */
|
#endif /* HISTORY_H */
|
||||||
|
5
proto.h
5
proto.h
@@ -391,11 +391,6 @@ extern char *inputLineHistSearch(char *prompt, char *def_str, int flag,
|
|||||||
extern Str unescape_spaces(Str s);
|
extern Str unescape_spaces(Str s);
|
||||||
#ifdef USE_HISTORY
|
#ifdef USE_HISTORY
|
||||||
extern Buffer *historyBuffer(Hist *hist);
|
extern Buffer *historyBuffer(Hist *hist);
|
||||||
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 /* not USE_HISTORY */
|
||||||
extern double log_like(int x);
|
extern double log_like(int x);
|
||||||
extern struct table *newTable(void);
|
extern struct table *newTable(void);
|
||||||
|
Reference in New Issue
Block a user