diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/ddb/db_variables.h | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/ddb/db_variables.h')
-rw-r--r-- | sys/ddb/db_variables.h | 18 |
1 files changed, 9 insertions, 9 deletions
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_ */ |