From 8327d0774703553db5e1a41a04bfdf4b1797c2ce Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 14 Mar 2002 01:27:20 +0000 Subject: First round of __P removal in sys --- sys/ddb/db_variables.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sys/ddb/db_variables.h') diff --git a/sys/ddb/db_variables.h b/sys/ddb/db_variables.h index 1d17e202eca..3c5450d0dd2 100644 --- a/sys/ddb/db_variables.h +++ b/sys/ddb/db_variables.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_variables.h,v 1.5 1997/03/21 00:41:19 niklas Exp $ */ +/* $OpenBSD: db_variables.h,v 1.6 2002/03/14 01:26:51 millert Exp $ */ /* $NetBSD: db_variables.h,v 1.5 1996/02/05 01:57:21 christos Exp $ */ /* @@ -40,22 +40,22 @@ struct db_variable { char *name; /* Name of variable */ long *valuep; /* value of variable */ /* function to call when reading/writing */ - int (*fcn) __P((struct db_variable *, db_expr_t *, int)); + int (*fcn)(struct db_variable *, db_expr_t *, int); #define DB_VAR_GET 0 #define DB_VAR_SET 1 }; -#define FCN_NULL ((int (*) __P((struct db_variable *, db_expr_t *, int)))0) +#define FCN_NULL ((int (*)(struct db_variable *, db_expr_t *, int))0) extern struct db_variable db_vars[]; /* debugger variables */ extern struct db_variable *db_evars; extern struct db_variable db_regs[]; /* machine registers */ extern struct db_variable *db_eregs; -int db_find_variable __P((struct db_variable **)); -int db_get_variable __P((db_expr_t *)); -int db_set_variable __P((db_expr_t)); -void db_read_variable __P((struct db_variable *, db_expr_t *)); -void db_write_variable __P((struct db_variable *, db_expr_t *)); -void db_set_cmd __P((db_expr_t, int, db_expr_t, char *)); +int db_find_variable(struct db_variable **); +int db_get_variable(db_expr_t *); +int db_set_variable(db_expr_t); +void db_read_variable(struct db_variable *, db_expr_t *); +void db_write_variable(struct db_variable *, db_expr_t *); +void db_set_cmd(db_expr_t, int, db_expr_t, char *); #endif /* _DB_VARIABLES_H_ */ -- cgit v1.2.3