summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_variables.c
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>1996-03-30 04:51:25 +0000
committermickey <mickey@openbsd.org>1996-03-30 04:51:25 +0000
commitd6c7fc58ca56e02dd88b4a7055479f7b16683256 (patch)
treea42d63a899e06c8de16b928428f6f7ea3c8fe677 /sys/ddb/db_variables.c
parentAdd $OpenBSD$, fix comments. (diff)
downloadwireguard-openbsd-d6c7fc58ca56e02dd88b4a7055479f7b16683256.tar.xz
wireguard-openbsd-d6c7fc58ca56e02dd88b4a7055479f7b16683256.zip
Added: sysctl access to the ddb variables.
Fixed: "netbsd" strings in sym table handling routines. now it is usefull to change max_{width,line} according to your real console geometry, just w/ sysctl program.
Diffstat (limited to 'sys/ddb/db_variables.c')
-rw-r--r--sys/ddb/db_variables.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/ddb/db_variables.c b/sys/ddb/db_variables.c
index c59af61c14f..ccb5c64b4da 100644
--- a/sys/ddb/db_variables.c
+++ b/sys/ddb/db_variables.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_variables.c,v 1.3 1996/03/11 11:16:28 mickey Exp $ */
+/* $OpenBSD: db_variables.c,v 1.4 1996/03/30 04:51:30 mickey Exp $ */
/*
* Mach Operating System
@@ -36,13 +36,7 @@
#include <ddb/db_command.h>
#include <ddb/db_sym.h>
#include <ddb/db_extern.h>
-
-extern unsigned int db_maxoff;
-
-extern int db_radix;
-extern int db_max_width;
-extern int db_tab_stop_width;
-extern int db_max_line;
+#include <ddb/db_var.h>
struct db_variable db_vars[] = {
{ "radix", &db_radix, FCN_NULL },