device/net_io.c: initialize hash_entp to NULL

* device/net_io.c (hash_entp): Initialize to NET_HASH_ENTRY_NULL.
ddb/db_command.c: remove forward declarations

* ddb/db_command.c: Include machine/db_interface.h.
(db_help_cmd, db_stack_trace_cmd): Remove forward declarations.
* ddb/db_command.h (db_help_cmd): Add prototype.
* i386/i386/db_interface.h (db_stack_trace_cmd): Add prototype.
ddb/db_input.c: add comment after endif

* ddb/db_input.c [DB_HISTORY_SIZE]: Add comment after endif.
ddb/db_mp.c: add comment after else and endif

* ddb/db_mp.c [CONSOLE_ON_MASTER]: Add comment after else and endif.
ddb/db_run.c: add comment after endif

* ddb/db_run.c [FIXUP_PC_AFTER_BREAK]: Add comment after endif.
ddb/db_aout.c: trivial stylistic fix for consistency

* ddb/db_aout.c: Trivial stylistic fix for consistency.
ddb: new header file db_aout.h

* Makefrag.am: Include ddb/db_aout.h.
* ddb/db_aout.c: Include ddb/db_aout.h.
* ddb/db_aout.h: New file.
Add copyright.
[_DDB_DB_AOUT_H_]: Add ifndef.
Include ddb/db_sym.h.
Include machine/db_machdep.h.
(aout_db_line_at_pc, aout_db_lookup, aout_db_search_symbol, aout_db_symbol_values): Add prototypes.
* ddb/db_sym.c: Include ddb/db_aout.h.
(db_search_in_task_symbol, aout_db_line_at_pc, aout_db_lookup, aout_db_search_symbol, aout_db_symbol_values): Remove forward declarations.
* ddb/db_sym.h (db_search_in_task_symbol): Add prototype.
ddb/db_sym.c: remove useless forward declarations without definitions

* ddb/db_sym.c (coff_db_sym_init, coff_db_line_at_pc, db_sym_t coff_db_lookup, coff_db_search_symbol, coff_db_symbol_values): Remove forward declarations.
(x_db): Modify field definition.
ddb/db_sym.c: fix argument list

* ddb/db_sym.c (dummy_db_free_symbol): Fix argument list.
ddb/db_command.c: remove forward declaration

* ddb/db_command.c (db_reset_cpu): Remove forward declaration.
* i386/i386/db_interface.h (db_reset_cpu): Add prototype.
* i386/i386at/model_dep.c: Include i386/db_interface.h.
ddb/db_command.c: remove useless forward declaration without definition

* ddb/db_command.c (ddb_display): Remove forward declaration.
Remove ddb_display call.
ddb/db_trap.c: remove forward declarations

* ddb/db_run.h (db_restart_at_pc, db_stop_at_pc): Add prototypes.
* ddb/db_trap.c (db_restart_at_pc, db_stop_at_pc): Remove forward declarations.
Include ddb/db_run.h.
ddb/db_variables.c: remove forward declarations

* ddb/db_task_thread.h: Include ddb/db_variables.h.
(db_set_default_thread, db_get_task_thread): Add prototypes.
* ddb/db_variables: Include ddb/db_macro.h.
(db_set_default_thread, db_get_task_thread, db_arg_variable): Remove forward declarations.
device/device_init.c: remove forward declarations

* device/dev_lookup.c: Include device/ds_routines.h.
* device/device_init.c: Include device/ds_routines.h.
Include device/net_io.h.
(mach_device_init, dev_lookup_init, net_io_init, device_pager_init, io_done_thread, net_thread): Remove forward declarations.
* device/ds_routines.h (mach_device_init, dev_lookup_init, device_pager_init, io_done_thread): Add prototypes.
* device/net_io.h (net_io_init, net_thread): Add prototypes.
i386/i386/db_trace.c: remove forward declaration

* i386/i386/db_interface.h: Include ddb/db_variables.h.
(db_i386_reg_value): Add prototype.
* i386/i386/db_trace.c (db_i386_reg_value): Remove forward declaration.
i386/i386/fpu.c, trap.c: remove forward declarations

* i386/i386/fpu.c: Include i386/trap.h.
(void i386_exception, fp_save, fp_load): Remove forward declaration.
* i386/i386/trap.c (void i386_exception): Remove forward declaration.
* i386/i386/trap.h (void i386_exception): Add prototype.
i386/i386/io_perm.c: remove forward declaration

* i386/i386/io_perm.c: Include pcb.h.
(update_ktss_iopb): Remove forward declaration.
* i386/i386/pcb.h (update_ktss_iopb): Add prototype.
i386/i386/pcb.c: remove forward declarations

* i386/i386/pcb.c (Load_context, Switch_context, Thread_continue, user_ldt_free): Remove forward declarations.
* i386/i386/pcb.h (Load_context, Switch_context, Thread_continue): Add prototypes.
* i386/i386/user_ldt.h (user_ldt_free): Add prototype.
kern: new header file exception.h

* Makefrag.am: Include kern/exception.h.
* i386/i386/trap.c: Include kern/exception.h.
(exception, thread_exception_return): Remove forward declarations.
* kern/exception.c: Include kern/exception.h.
(exception, exception_try_task, exception_no_server, exception_raise, exception_parse_reply, exception_raise_continue, exception_raise_continue_slow, exception_raise_continue_fast): Remove forward declarations.
* kern/exception.h: New file.
Add copyright.
[_KERN_EXCEPTION_H_]: Add ifndef.
(exception, exception_try_task, exception_no_server, exception_raise, exception_parse_reply, exception_raise_continue, exception_raise_continue_slow, exception_raise_continue_fast): Add prototypes.
kern/exception.c: remove forward declarations

* i386/i386/trap.h (thread_kdb_return): Add prototype.
* kern/exception.c (thread_kdb_return, db_printf): Remove forward declarations.
Include machine/trap.h.
Include ddb/db_output.h.