diff options
Diffstat (limited to 'bin/ksh/history.c')
-rw-r--r-- | bin/ksh/history.c | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/bin/ksh/history.c b/bin/ksh/history.c index 3812e92f895..84ea5fdf263 100644 --- a/bin/ksh/history.c +++ b/bin/ksh/history.c @@ -1,4 +1,4 @@ -/* $OpenBSD: history.c,v 1.78 2018/01/06 16:28:58 millert Exp $ */ +/* $OpenBSD: history.c,v 1.79 2018/01/15 14:58:05 jca Exp $ */ /* * command history @@ -25,8 +25,6 @@ #include "sh.h" -#ifdef HISTORY - static void history_write(void); static FILE *history_open(void); static void history_load(Source *); @@ -856,25 +854,3 @@ hist_finish(void) { history_close(); } - -#else /* HISTORY */ - -/* No history to be compiled in: dummy routines to avoid lots more ifdefs */ -void -init_histvec(void) -{ -} -void -hist_init(Source *s) -{ -} -void -hist_finish(void) -{ -} -void -histsave(int lno, const char *cmd, int dowrite) -{ - errorf("history not enabled"); -} -#endif /* HISTORY */ |