summaryrefslogtreecommitdiffstats
path: root/contrib/nvi/vi/vi.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/nvi/vi/vi.h')
-rw-r--r--contrib/nvi/vi/vi.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/nvi/vi/vi.h b/contrib/nvi/vi/vi.h
index 2cfbb99..eeb6b9f 100644
--- a/contrib/nvi/vi/vi.h
+++ b/contrib/nvi/vi/vi.h
@@ -126,7 +126,7 @@ typedef struct _vicmd {
/* Vi command table structure. */
struct _vikeys { /* Underlying function. */
- int (*func) __P((SCR *, VICMD *));
+ int (*func)(SCR *, VICMD *);
#define V_ABS 0x00004000 /* Absolute movement, set '' mark. */
#define V_ABS_C 0x00008000 /* V_ABS: if the line/column changed. */
#define V_ABS_L 0x00010000 /* V_ABS: if the line changed. */
@@ -161,12 +161,12 @@ typedef struct _vcs {
int cs_flags; /* Return flags. */
} VCS;
-int cs_bblank __P((SCR *, VCS *));
-int cs_fblank __P((SCR *, VCS *));
-int cs_fspace __P((SCR *, VCS *));
-int cs_init __P((SCR *, VCS *));
-int cs_next __P((SCR *, VCS *));
-int cs_prev __P((SCR *, VCS *));
+int cs_bblank(SCR *, VCS *);
+int cs_fblank(SCR *, VCS *);
+int cs_fspace(SCR *, VCS *);
+int cs_init(SCR *, VCS *);
+int cs_next(SCR *, VCS *);
+int cs_prev(SCR *, VCS *);
/*
* We use a single "window" for each set of vi screens. The model would be
OpenPOWER on IntegriCloud