summaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-03-14 03:38:54 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-03-14 03:38:54 +0000
commit651a8ec0536429ec664a047ea1884b4f2ca9388e (patch)
treec589290e0c2580b97921907d1dba5bd7d3fc2559 /sys/ddb
parentb163c91d43910f421639d41e147cfb56136a0617 (diff)
Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_break.c3
-rw-r--r--sys/ddb/db_command.c3
-rw-r--r--sys/ddb/db_elf.c3
-rw-r--r--sys/ddb/db_hangman.c3
-rw-r--r--sys/ddb/db_input.c3
-rw-r--r--sys/ddb/db_lex.c3
-rw-r--r--sys/ddb/db_output.c3
-rw-r--r--sys/ddb/db_print.c3
-rw-r--r--sys/ddb/db_run.c3
-rw-r--r--sys/ddb/db_sym.c3
-rw-r--r--sys/ddb/db_trap.c3
-rw-r--r--sys/ddb/db_usrreq.c3
-rw-r--r--sys/ddb/db_variables.c3
-rw-r--r--sys/ddb/db_watch.c3
-rw-r--r--sys/ddb/db_write_cmd.c3
15 files changed, 15 insertions, 30 deletions
diff --git a/sys/ddb/db_break.c b/sys/ddb/db_break.c
index 1d5feafdbba..ca3ec1e45c6 100644
--- a/sys/ddb/db_break.c
+++ b/sys/ddb/db_break.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_break.c,v 1.16 2014/09/14 14:17:24 jsg Exp $ */
+/* $OpenBSD: db_break.c,v 1.17 2015/03/14 03:38:46 jsg Exp $ */
/* $NetBSD: db_break.c,v 1.7 1996/03/30 22:30:03 christos Exp $ */
/*
@@ -38,7 +38,6 @@
#include <machine/db_machdep.h> /* type definitions */
-#include <ddb/db_lex.h>
#include <ddb/db_access.h>
#include <ddb/db_sym.h>
#include <ddb/db_break.h>
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index 8c1c5945331..19cff322be0 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_command.c,v 1.64 2014/07/11 14:36:44 uebayasi Exp $ */
+/* $OpenBSD: db_command.c,v 1.65 2015/03/14 03:38:46 jsg Exp $ */
/* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */
/*
@@ -51,7 +51,6 @@
#include <ddb/db_run.h>
#include <ddb/db_variables.h>
#include <ddb/db_interface.h>
-#include <ddb/db_sym.h>
#include <ddb/db_extern.h>
#include <uvm/uvm_ddb.h>
diff --git a/sys/ddb/db_elf.c b/sys/ddb/db_elf.c
index 9ccb5f3fb98..c5bc1546d01 100644
--- a/sys/ddb/db_elf.c
+++ b/sys/ddb/db_elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_elf.c,v 1.12 2014/10/09 08:21:48 matthew Exp $ */
+/* $OpenBSD: db_elf.c,v 1.13 2015/03/14 03:38:46 jsg Exp $ */
/* $NetBSD: db_elf.c,v 1.13 2000/07/07 21:55:18 jhawk Exp $ */
/*-
@@ -42,7 +42,6 @@
#include <ddb/db_dwarf.h>
#include <ddb/db_sym.h>
#include <ddb/db_output.h>
-#include <ddb/db_extern.h>
#include <sys/exec_elf.h>
diff --git a/sys/ddb/db_hangman.c b/sys/ddb/db_hangman.c
index 55e49236dc0..bcdad460abc 100644
--- a/sys/ddb/db_hangman.c
+++ b/sys/ddb/db_hangman.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_hangman.c,v 1.31 2014/11/18 02:37:30 tedu Exp $ */
+/* $OpenBSD: db_hangman.c,v 1.32 2015/03/14 03:38:46 jsg Exp $ */
/*
* Copyright (c) 1996 Theo de Raadt, Michael Shalayeff
@@ -32,7 +32,6 @@
#include <machine/db_machdep.h>
#include <ddb/db_sym.h>
-#include <ddb/db_extern.h>
#include <ddb/db_output.h>
#include <dev/cons.h>
diff --git a/sys/ddb/db_input.c b/sys/ddb/db_input.c
index 6889c07b861..729311ef75d 100644
--- a/sys/ddb/db_input.c
+++ b/sys/ddb/db_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_input.c,v 1.13 2014/09/14 14:17:24 jsg Exp $ */
+/* $OpenBSD: db_input.c,v 1.14 2015/03/14 03:38:46 jsg Exp $ */
/* $NetBSD: db_input.c,v 1.7 1996/02/05 01:57:02 christos Exp $ */
/*
@@ -37,7 +37,6 @@
#include <ddb/db_var.h>
#include <ddb/db_output.h>
-#include <ddb/db_command.h>
#include <ddb/db_sym.h>
#include <ddb/db_extern.h>
diff --git a/sys/ddb/db_lex.c b/sys/ddb/db_lex.c
index 49e34db6f6b..4cd2297f297 100644
--- a/sys/ddb/db_lex.c
+++ b/sys/ddb/db_lex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_lex.c,v 1.11 2014/09/14 14:17:24 jsg Exp $ */
+/* $OpenBSD: db_lex.c,v 1.12 2015/03/14 03:38:46 jsg Exp $ */
/* $NetBSD: db_lex.c,v 1.8 1996/02/05 01:57:05 christos Exp $ */
/*
@@ -41,7 +41,6 @@
#include <ddb/db_lex.h>
#include <ddb/db_output.h>
#include <ddb/db_command.h>
-#include <ddb/db_sym.h>
#include <ddb/db_extern.h>
#include <ddb/db_var.h>
diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c
index a6ae75af67f..d0ac6cfe5f5 100644
--- a/sys/ddb/db_output.c
+++ b/sys/ddb/db_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_output.c,v 1.28 2014/09/14 14:17:24 jsg Exp $ */
+/* $OpenBSD: db_output.c,v 1.29 2015/03/14 03:38:46 jsg Exp $ */
/* $NetBSD: db_output.c,v 1.13 1996/04/01 17:27:14 christos Exp $ */
/*
@@ -43,7 +43,6 @@
#include <ddb/db_interface.h>
#include <ddb/db_sym.h>
#include <ddb/db_var.h>
-#include <ddb/db_extern.h>
/*
* Character output - tracks position in line.
diff --git a/sys/ddb/db_print.c b/sys/ddb/db_print.c
index 0f459c72b6f..8879af7a30c 100644
--- a/sys/ddb/db_print.c
+++ b/sys/ddb/db_print.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_print.c,v 1.14 2014/09/14 14:17:24 jsg Exp $ */
+/* $OpenBSD: db_print.c,v 1.15 2015/03/14 03:38:46 jsg Exp $ */
/* $NetBSD: db_print.c,v 1.5 1996/02/05 01:57:11 christos Exp $ */
/*
@@ -38,7 +38,6 @@
#include <machine/db_machdep.h>
-#include <ddb/db_lex.h>
#include <ddb/db_variables.h>
#include <ddb/db_sym.h>
#include <ddb/db_output.h>
diff --git a/sys/ddb/db_run.c b/sys/ddb/db_run.c
index 4426753233b..fb427ad47ff 100644
--- a/sys/ddb/db_run.c
+++ b/sys/ddb/db_run.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_run.c,v 1.24 2014/09/14 14:17:24 jsg Exp $ */
+/* $OpenBSD: db_run.c,v 1.25 2015/03/14 03:38:46 jsg Exp $ */
/* $NetBSD: db_run.c,v 1.8 1996/02/05 01:57:12 christos Exp $ */
/*
@@ -51,7 +51,6 @@ int db_inst_count;
#ifndef KGDB
-#include <ddb/db_lex.h>
#include <ddb/db_watch.h>
#include <ddb/db_output.h>
#include <ddb/db_sym.h>
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c
index 5c209778f85..1e35a097f53 100644
--- a/sys/ddb/db_sym.c
+++ b/sys/ddb/db_sym.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_sym.c,v 1.36 2014/12/21 16:27:08 mlarkin Exp $ */
+/* $OpenBSD: db_sym.c,v 1.37 2015/03/14 03:38:46 jsg Exp $ */
/* $NetBSD: db_sym.c,v 1.24 2000/08/11 22:50:47 tv Exp $ */
/*
@@ -35,7 +35,6 @@
#include <ddb/db_lex.h>
#include <ddb/db_sym.h>
#include <ddb/db_output.h>
-#include <ddb/db_extern.h>
#include <ddb/db_command.h>
/*
diff --git a/sys/ddb/db_trap.c b/sys/ddb/db_trap.c
index 0fb7d01ea3e..43f48af74f4 100644
--- a/sys/ddb/db_trap.c
+++ b/sys/ddb/db_trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_trap.c,v 1.18 2014/09/14 14:17:24 jsg Exp $ */
+/* $OpenBSD: db_trap.c,v 1.19 2015/03/14 03:38:46 jsg Exp $ */
/* $NetBSD: db_trap.c,v 1.9 1996/02/05 01:57:18 christos Exp $ */
/*
@@ -40,7 +40,6 @@
#include <ddb/db_run.h>
#include <ddb/db_command.h>
-#include <ddb/db_break.h>
#include <ddb/db_output.h>
#include <ddb/db_sym.h>
#include <ddb/db_extern.h>
diff --git a/sys/ddb/db_usrreq.c b/sys/ddb/db_usrreq.c
index e7d77a35457..c574dc24930 100644
--- a/sys/ddb/db_usrreq.c
+++ b/sys/ddb/db_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_usrreq.c,v 1.16 2014/07/08 13:02:57 deraadt Exp $ */
+/* $OpenBSD: db_usrreq.c,v 1.17 2015/03/14 03:38:46 jsg Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff. All rights reserved.
@@ -27,7 +27,6 @@
#include <sys/param.h>
#include <sys/types.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/tty.h>
#include <sys/sysctl.h>
diff --git a/sys/ddb/db_variables.c b/sys/ddb/db_variables.c
index 28d79da2359..96895784236 100644
--- a/sys/ddb/db_variables.c
+++ b/sys/ddb/db_variables.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_variables.c,v 1.15 2014/09/14 14:17:24 jsg Exp $ */
+/* $OpenBSD: db_variables.c,v 1.16 2015/03/14 03:38:46 jsg Exp $ */
/* $NetBSD: db_variables.c,v 1.8 1996/02/05 01:57:19 christos Exp $ */
/*
@@ -28,7 +28,6 @@
*/
#include <sys/param.h>
-#include <sys/systm.h>
#include <machine/db_machdep.h>
diff --git a/sys/ddb/db_watch.c b/sys/ddb/db_watch.c
index 960a4af0aa4..b08c4c986c7 100644
--- a/sys/ddb/db_watch.c
+++ b/sys/ddb/db_watch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_watch.c,v 1.13 2014/11/16 12:30:59 deraadt Exp $ */
+/* $OpenBSD: db_watch.c,v 1.14 2015/03/14 03:38:46 jsg Exp $ */
/* $NetBSD: db_watch.c,v 1.9 1996/03/30 22:30:12 christos Exp $ */
/*
@@ -38,7 +38,6 @@
#include <ddb/db_break.h>
#include <ddb/db_watch.h>
#include <ddb/db_lex.h>
-#include <ddb/db_access.h>
#include <ddb/db_run.h>
#include <ddb/db_sym.h>
#include <ddb/db_output.h>
diff --git a/sys/ddb/db_write_cmd.c b/sys/ddb/db_write_cmd.c
index b65edc593a3..383a985b588 100644
--- a/sys/ddb/db_write_cmd.c
+++ b/sys/ddb/db_write_cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_write_cmd.c,v 1.13 2014/09/14 14:17:24 jsg Exp $ */
+/* $OpenBSD: db_write_cmd.c,v 1.14 2015/03/14 03:38:46 jsg Exp $ */
/* $NetBSD: db_write_cmd.c,v 1.6 1996/02/05 01:57:25 christos Exp $ */
/*
@@ -35,7 +35,6 @@
#include <machine/db_machdep.h>
-#include <ddb/db_lex.h>
#include <ddb/db_access.h>
#include <ddb/db_command.h>
#include <ddb/db_sym.h>