svn commit: r352053 - head/sys/ddb
Conrad Meyer
cem at FreeBSD.org
Mon Sep 9 01:33:46 UTC 2019
Author: cem
Date: Mon Sep 9 01:33:45 2019
New Revision: 352053
URL: https://svnweb.freebsd.org/changeset/base/352053
Log:
ddb(4): Move an extern variable declaration to a header
Trivial cleanup, no functional change.
Modified:
head/sys/ddb/db_command.h
head/sys/ddb/db_run.c
Modified: head/sys/ddb/db_command.h
==============================================================================
--- head/sys/ddb/db_command.h Mon Sep 9 01:05:51 2019 (r352052)
+++ head/sys/ddb/db_command.h Mon Sep 9 01:33:45 2019 (r352053)
@@ -49,6 +49,7 @@ void db_command_init(void);
void db_command_loop(void);
void db_command_script(const char *command);
+extern int db_cmd_loop_done;
extern db_addr_t db_dot; /* current location */
extern db_addr_t db_last_addr; /* last explicit address typed */
extern db_addr_t db_prev; /* last address examined
Modified: head/sys/ddb/db_run.c
==============================================================================
--- head/sys/ddb/db_run.c Mon Sep 9 01:05:51 2019 (r352052)
+++ head/sys/ddb/db_run.c Mon Sep 9 01:33:45 2019 (r352053)
@@ -48,8 +48,9 @@ __FBSDID("$FreeBSD$");
#include <vm/vm.h>
#include <ddb/ddb.h>
-#include <ddb/db_break.h>
#include <ddb/db_access.h>
+#include <ddb/db_break.h>
+#include <ddb/db_command.h>
#define STEP_ONCE 1
#define STEP_RETURN 2
@@ -331,8 +332,6 @@ db_clear_single_step(void)
}
#endif /* SOFTWARE_SSTEP */
-
-extern int db_cmd_loop_done;
/* single-step */
/*ARGSUSED*/
More information about the svn-src-head
mailing list