aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb/db_output.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-07-08 09:11:43 +0000
committerBruce Evans <bde@FreeBSD.org>1998-07-08 09:11:43 +0000
commit3da6ef3c3a473badd556f6c2ff12ae2c16f97803 (patch)
tree7393cc3e8e25fc2529b7b92d54d523a46b2525d5 /sys/ddb/db_output.c
parente809645c27adf28c266fe2d7797affac4fc20eb8 (diff)
downloadsrc-3da6ef3c3a473badd556f6c2ff12ae2c16f97803.tar.gz
src-3da6ef3c3a473badd556f6c2ff12ae2c16f97803.zip
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.
Notes
Notes: svn path=/head/; revision=37504
Diffstat (limited to 'sys/ddb/db_output.c')
-rw-r--r--sys/ddb/db_output.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c
index 6aef208ca171..495915421926 100644
--- a/sys/ddb/db_output.c
+++ b/sys/ddb/db_output.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_output.c,v 1.22 1997/04/01 14:31:06 bde Exp $
+ * $Id: db_output.c,v 1.23 1998/06/07 17:09:37 dfr Exp $
*/
/*
@@ -58,10 +58,10 @@
*/
static int db_output_position = 0; /* output column */
static int db_last_non_space = 0; /* last non-space character */
-long db_tab_stop_width = 8; /* how wide are tab stops? */
+db_expr_t db_tab_stop_width = 8; /* how wide are tab stops? */
#define NEXT_TAB(i) \
((((i) + db_tab_stop_width) / db_tab_stop_width) * db_tab_stop_width)
-long db_max_width = 79; /* output line width */
+db_expr_t db_max_width = 79; /* output line width */
static void db_putchar __P((int c, void *arg));