summaryrefslogtreecommitdiff
path: root/ex/ex_shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'ex/ex_shell.c')
-rw-r--r--ex/ex_shell.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ex/ex_shell.c b/ex/ex_shell.c
index d127305059686..43be5cb217565 100644
--- a/ex/ex_shell.c
+++ b/ex/ex_shell.c
@@ -29,14 +29,14 @@ static const char sccsid[] = "$Id: ex_shell.c,v 10.44 2012/07/06 06:51:26 zy Exp
#include "../common/common.h"
-static const char *sigmsg __P((int));
+static const char *sigmsg(int);
/*
* ex_shell -- :sh[ell]
* Invoke the program named in the SHELL environment variable
* with the argument -i.
*
- * PUBLIC: int ex_shell __P((SCR *, EXCMD *));
+ * PUBLIC: int ex_shell(SCR *, EXCMD *);
*/
int
ex_shell(SCR *sp, EXCMD *cmdp)
@@ -82,7 +82,7 @@ ex_shell(SCR *sp, EXCMD *cmdp)
* ex_exec_proc --
* Run a separate process.
*
- * PUBLIC: int ex_exec_proc __P((SCR *, EXCMD *, char *, const char *, int));
+ * PUBLIC: int ex_exec_proc(SCR *, EXCMD *, char *, const char *, int);
*/
int
ex_exec_proc(SCR *sp, EXCMD *cmdp, char *cmd, const char *msg, int need_newline)
@@ -147,7 +147,7 @@ ex_exec_proc(SCR *sp, EXCMD *cmdp, char *cmd, const char *msg, int need_newline)
* rules get you. I'm using a long based on the belief that nobody is
* going to make it unsigned and it's unlikely to be a quad.
*
- * PUBLIC: int proc_wait __P((SCR *, long, const char *, int, int));
+ * PUBLIC: int proc_wait(SCR *, long, const char *, int, int);
*/
int
proc_wait(SCR *sp, long int pid, const char *cmd, int silent, int okpipe)