summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_variables.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-08 09:11:43 +0000
committerbde <bde@FreeBSD.org>1998-07-08 09:11:43 +0000
commiteee2789d0f37e2119b09abe680d801623369d60a (patch)
treec3527701fe6aa235bb4b89231ea39671543295ab /sys/ddb/db_variables.h
parentb57b07e56004790a6179ed6ca31ba63d47444a49 (diff)
downloadFreeBSD-src-eee2789d0f37e2119b09abe680d801623369d60a.zip
FreeBSD-src-eee2789d0f37e2119b09abe680d801623369d60a.tar.gz
Fixed bogus type of valuep in struct db_variable. It was `int *' and
became `long *' for alpha, but should always have been `db_expr_t *'. Fixed variable types to match.
Diffstat (limited to 'sys/ddb/db_variables.h')
-rw-r--r--sys/ddb/db_variables.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_variables.h b/sys/ddb/db_variables.h
index 1359f01..20d3338 100644
--- a/sys/ddb/db_variables.h
+++ b/sys/ddb/db_variables.h
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_variables.h,v 1.8 1997/06/30 23:54:50 bde Exp $
+ * $Id: db_variables.h,v 1.9 1998/06/07 17:09:38 dfr Exp $
*/
/*
@@ -42,7 +42,7 @@ typedef int db_varfcn_t __P((struct db_variable *vp, db_expr_t *valuep,
int op));
struct db_variable {
char *name; /* Name of variable */
- long *valuep; /* value of variable */
+ db_expr_t *valuep; /* value of variable */
/* function to call when reading/writing */
db_varfcn_t *fcn;
#define DB_VAR_GET 0
OpenPOWER on IntegriCloud