diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-07-06 19:05:59 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-07-06 19:05:59 +0000 |
commit | ee0b8b4c3e2e3376ebaa0037becf937eddb45025 (patch) | |
tree | f116133b7b298712ae300bc57dcffde56f4d7a34 /sys/ddb/db_variables.h | |
parent | 0b8bbf9148d97517c81469fe223bebc0999c653e (diff) |
Make sure we alter ddb variables as ints, not longs; only matters on 64 bit
platforms.
Diffstat (limited to 'sys/ddb/db_variables.h')
-rw-r--r-- | sys/ddb/db_variables.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/ddb/db_variables.h b/sys/ddb/db_variables.h index 3c5450d0dd2..92426c3da0b 100644 --- a/sys/ddb/db_variables.h +++ b/sys/ddb/db_variables.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_variables.h,v 1.6 2002/03/14 01:26:51 millert Exp $ */ +/* $OpenBSD: db_variables.h,v 1.7 2006/07/06 19:05:58 miod Exp $ */ /* $NetBSD: db_variables.h,v 1.5 1996/02/05 01:57:21 christos Exp $ */ /* @@ -51,11 +51,12 @@ extern struct db_variable *db_evars; extern struct db_variable db_regs[]; /* machine registers */ extern struct db_variable *db_eregs; -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 *); +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 *); +int db_var_rw_int(struct db_variable *, db_expr_t *, int); #endif /* _DB_VARIABLES_H_ */ |