summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_command.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-20 05:14:42 +0000
committeralfred <alfred@FreeBSD.org>2002-03-20 05:14:42 +0000
commiteddc6122c99ccaa9c147f78f44588a5757d3f046 (patch)
tree5fcd19c5c990fd9d830071523f9c3dc5cfb35586 /sys/ddb/db_command.c
parent62379fef927268e564719e3e766bb3900ef387c7 (diff)
downloadFreeBSD-src-eddc6122c99ccaa9c147f78f44588a5757d3f046.zip
FreeBSD-src-eddc6122c99ccaa9c147f78f44588a5757d3f046.tar.gz
Remove __P.
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r--sys/ddb/db_command.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index d41cf9c..9d3be3b 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -101,17 +101,17 @@ db_skip_to_eol()
#define CMD_AMBIGUOUS 3
#define CMD_HELP 4
-static void db_cmd_list __P((struct command *table,
+static void db_cmd_list(struct command *table,
struct command **aux_tablep,
- struct command **aux_tablep_end));
-static int db_cmd_search __P((char *name, struct command *table,
+ struct command **aux_tablep_end);
+static int db_cmd_search(char *name, struct command *table,
struct command **aux_tablep,
struct command **aux_tablep_end,
- struct command **cmdp));
-static void db_command __P((struct command **last_cmdp,
+ struct command **cmdp);
+static void db_command(struct command **last_cmdp,
struct command *cmd_table,
struct command **aux_cmd_tablep,
- struct command **aux_cmd_tablep_end));
+ struct command **aux_cmd_tablep_end);
/*
* Search for command prefix.
@@ -503,10 +503,10 @@ db_fncall(dummy1, dummy2, dummy3, dummy4)
db_expr_t args[MAXARGS];
int nargs = 0;
db_expr_t retval;
- typedef db_expr_t fcn_10args_t __P((db_expr_t, db_expr_t, db_expr_t,
+ typedef db_expr_t fcn_10args_t(db_expr_t, db_expr_t, db_expr_t,
db_expr_t, db_expr_t, db_expr_t,
db_expr_t, db_expr_t, db_expr_t,
- db_expr_t));
+ db_expr_t);
fcn_10args_t *func;
int t;
OpenPOWER on IntegriCloud