summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_output.c
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_output.c
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_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 6aef208..4959154 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));
OpenPOWER on IntegriCloud