aboutsummaryrefslogtreecommitdiff
path: root/ex/ex_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'ex/ex_init.c')
-rw-r--r--ex/ex_init.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ex/ex_init.c b/ex/ex_init.c
index 5b93e5bbccab..ad54591a2395 100644
--- a/ex/ex_init.c
+++ b/ex/ex_init.c
@@ -30,15 +30,15 @@ static const char sccsid[] = "$Id: ex_init.c,v 10.33 2012/04/11 19:12:34 zy Exp
#include "pathnames.h"
enum rc { NOEXIST, NOPERM, RCOK };
-static enum rc exrc_isok __P((SCR *, struct stat *, char *, int, int));
+static enum rc exrc_isok(SCR *, struct stat *, char *, int, int);
-static int ex_run_file __P((SCR *, char *));
+static int ex_run_file(SCR *, char *);
/*
* ex_screen_copy --
* Copy ex screen.
*
- * PUBLIC: int ex_screen_copy __P((SCR *, SCR *));
+ * PUBLIC: int ex_screen_copy(SCR *, SCR *);
*/
int
ex_screen_copy(SCR *orig, SCR *sp)
@@ -74,7 +74,7 @@ ex_screen_copy(SCR *orig, SCR *sp)
* ex_screen_end --
* End a vi screen.
*
- * PUBLIC: int ex_screen_end __P((SCR *));
+ * PUBLIC: int ex_screen_end(SCR *);
*/
int
ex_screen_end(SCR *sp)
@@ -120,7 +120,7 @@ ex_screen_end(SCR *sp)
* ex_optchange --
* Handle change of options for ex.
*
- * PUBLIC: int ex_optchange __P((SCR *, int, char *, u_long *));
+ * PUBLIC: int ex_optchange(SCR *, int, char *, u_long *);
*/
int
ex_optchange(SCR *sp, int offset, char *str, u_long *valp)
@@ -137,7 +137,7 @@ ex_optchange(SCR *sp, int offset, char *str, u_long *valp)
* Read the EXINIT environment variable and the startup exrc files,
* and execute their commands.
*
- * PUBLIC: int ex_exrc __P((SCR *));
+ * PUBLIC: int ex_exrc(SCR *);
*/
int
ex_exrc(SCR *sp)
@@ -281,7 +281,7 @@ ex_run_file(SCR *sp, char *name)
* ex_run_str --
* Set up a string of ex commands to run.
*
- * PUBLIC: int ex_run_str __P((SCR *, char *, CHAR_T *, size_t, int, int));
+ * PUBLIC: int ex_run_str(SCR *, char *, CHAR_T *, size_t, int, int);
*/
int
ex_run_str(SCR *sp, char *name, CHAR_T *str, size_t len, int ex_flags, int nocopy)