diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 3629dafca3bd..c560b2004574 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;