diff options
author | bde <bde@FreeBSD.org> | 1996-12-18 17:58:24 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-12-18 17:58:24 +0000 |
commit | aeabb37c7e10c1e98f0d53a143994272127a5a21 (patch) | |
tree | ab65e743ef99558ac186c1b6f1d15e6944e48ee8 /sys | |
parent | ff59515db9debedc51e00680c7264469e148e8ed (diff) | |
download | FreeBSD-src-aeabb37c7e10c1e98f0d53a143994272127a5a21.zip FreeBSD-src-aeabb37c7e10c1e98f0d53a143994272127a5a21.tar.gz |
Fixed bogus linkage of one of the ddb linker sets.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ddb/db_command.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 3629daf..c560b20 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_command.c,v 1.19 1996/08/27 19:46:28 pst Exp $ + * $Id: db_command.c,v 1.20 1996/09/14 09:13:13 bde Exp $ */ /* @@ -49,6 +49,10 @@ /* * Exported global variables */ +/* + * XXX when db_command is actually used, it will be generated by the linker. + * Then it should be declared extern. + */ struct linker_set db_cmd_set; boolean_t db_cmd_loop_done; db_addr_t db_dot; @@ -56,7 +60,7 @@ jmp_buf db_jmpbuf; db_addr_t db_last_addr; db_addr_t db_prev; db_addr_t db_next; -struct linker_set db_show_cmd_set; +extern struct linker_set db_show_cmd_set; static db_cmdfcn_t db_fncall; static db_cmdfcn_t db_gdb; |