summaryrefslogtreecommitdiffstats
path: root/lib/libedit/hist.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libedit/hist.h')
-rw-r--r--lib/libedit/hist.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libedit/hist.h b/lib/libedit/hist.h
index c64bed49d5a..8113b21b1f0 100644
--- a/lib/libedit/hist.h
+++ b/lib/libedit/hist.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hist.h,v 1.4 1997/03/14 05:12:49 millert Exp $ */
+/* $OpenBSD: hist.h,v 1.5 2002/02/16 21:27:26 millert Exp $ */
/* $NetBSD: hist.h,v 1.3 1997/01/11 06:47:56 lukem Exp $ */
/*-
@@ -47,7 +47,7 @@
#include "histedit.h"
-typedef const HistEvent * (*hist_fun_t) __P((ptr_t, int, ...));
+typedef const HistEvent * (*hist_fun_t)(ptr_t, int, ...);
typedef struct el_history_t {
char *buf; /* The history buffer */
@@ -71,10 +71,10 @@ typedef struct el_history_t {
#define HIST_LOAD(el, fname) HIST_FUN(el, H_LOAD fname)
#define HIST_SAVE(el, fname) HIST_FUN(el, H_SAVE fname)
-protected int hist_init __P((EditLine *));
-protected void hist_end __P((EditLine *));
-protected el_action_t hist_get __P((EditLine *));
-protected int hist_set __P((EditLine *, hist_fun_t, ptr_t));
-protected int hist_list __P((EditLine *, int, char **));
+protected int hist_init(EditLine *);
+protected void hist_end(EditLine *);
+protected el_action_t hist_get(EditLine *);
+protected int hist_set(EditLine *, hist_fun_t, ptr_t);
+protected int hist_list(EditLine *, int, char **);
#endif /* _h_el_hist */