diff options
author | David Höppner <0xffea@gmail.com> | 2013-01-01 09:12:37 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-01-04 01:59:47 +0100 |
commit | 8015e7817b505d15845c33f13c24ad55c561c8df (patch) | |
tree | c8a14d93bec897994ccf1d7566ad3d48f2669e7b /vm/vm_resident.c | |
parent | 14a29498dfee39e72443ff0e6f463be7f3bfd4ec (diff) | |
download | gnumach-8015e7817b505d15845c33f13c24ad55c561c8df.tar.gz gnumach-8015e7817b505d15845c33f13c24ad55c561c8df.tar.bz2 gnumach-8015e7817b505d15845c33f13c24ad55c561c8df.zip |
Fix compilation warning implicit function declaration kdbprintf
When kernel debugger support is requested ipc and vm need
the prototype for the debugger function kdbprintf.
* ddb/db_output.h: Add prototype for kdbprintf.
* ipc/ipc_object.c: Add include file ddb/db_output.h
* ipc/ipc_port.c: Likewise.
* ipc/ipc_pset.c: Likewise.
* vm/vm_map.c: Likewise.
* vm/vm_object.c: Likewise.
* vm/vm_resident.c: Likewise.
Diffstat (limited to 'vm/vm_resident.c')
-rw-r--r-- | vm/vm_resident.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vm/vm_resident.c b/vm/vm_resident.c index 581a9c42..7cf4fb16 100644 --- a/vm/vm_resident.c +++ b/vm/vm_resident.c @@ -58,6 +58,11 @@ #include <vm/vm_user.h> #endif +#if MACH_KDB +#include <ddb/db_output.h> +#endif /* MACH_KDB */ + + /* * Associated with eacn page of user-allocatable memory is a * page structure. |