summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-01-18 07:47:38 +0000
committermarcel <marcel@FreeBSD.org>2002-01-18 07:47:38 +0000
commite7af6edf246b683232f550c222532f2c4ca06b7c (patch)
treec4b0eb43f74bfbd7cc5feffdaf9075a7fc8b20e4 /sys/ia64/include
parentb2f9c8c62d22b4458a4c7ea15bcf82744297c45b (diff)
downloadFreeBSD-src-e7af6edf246b683232f550c222532f2c4ca06b7c.zip
FreeBSD-src-e7af6edf246b683232f550c222532f2c4ca06b7c.tar.gz
Declare ddb_regs as extern to avoid creating a tentative definition.
This fixes the link failure caused by disabling the emission of common symbols.
Diffstat (limited to 'sys/ia64/include')
-rw-r--r--sys/ia64/include/db_machdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/include/db_machdep.h b/sys/ia64/include/db_machdep.h
index caa0c40b..ca184ad 100644
--- a/sys/ia64/include/db_machdep.h
+++ b/sys/ia64/include/db_machdep.h
@@ -46,7 +46,7 @@ struct ia64_bundle;
typedef vm_offset_t db_addr_t; /* address - unsigned */
typedef long db_expr_t; /* expression - signed */
typedef struct trapframe db_regs_t;
-db_regs_t ddb_regs; /* register state */
+extern db_regs_t ddb_regs; /* register state */
#define DDB_REGS (&ddb_regs)
#define PC_REGS(regs) ((db_addr_t)(regs)->tf_cr_iip \
OpenPOWER on IntegriCloud