--- Gnu-Mach/ddb/db_write_cmd.c 2020/09/02 04:43:14 1.1.1.2 +++ Gnu-Mach/ddb/db_write_cmd.c 2020/09/02 04:48:16 1.1.1.4 @@ -28,7 +28,6 @@ * Date: 7/90 */ -#include "mach_kdb.h" #if MACH_KDB #include @@ -40,6 +39,8 @@ #include #include #include +#include +#include #include #include @@ -54,12 +55,12 @@ db_write_cmd(address, have_addr, count, db_expr_t address; boolean_t have_addr; db_expr_t count; - char * modif; + const char * modif; { - register db_addr_t addr; - register db_expr_t old_value; + db_addr_t addr; + db_expr_t old_value; db_expr_t new_value; - register int size; + int size; boolean_t wrote_one = FALSE; boolean_t t_opt, u_opt; thread_t thread;