summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorDavid Höppner <0xffea@gmail.com>2013-01-01 09:12:37 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-01-04 01:59:47 +0100
commit8015e7817b505d15845c33f13c24ad55c561c8df (patch)
treec8a14d93bec897994ccf1d7566ad3d48f2669e7b /ddb
parent14a29498dfee39e72443ff0e6f463be7f3bfd4ec (diff)
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 'ddb')
-rw-r--r--ddb/db_output.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ddb/db_output.h b/ddb/db_output.h
index 3203e30..1159c6b 100644
--- a/ddb/db_output.h
+++ b/ddb/db_output.h
@@ -35,6 +35,6 @@
extern void db_force_whitespace(void);
extern int db_print_position(void);
extern void db_end_line(void);
-extern void db_printf( const char *fmt, ...);
-extern void db_putchar(int c);
-
+extern void db_printf(const char *fmt, ...);
+extern void db_putchar(int c);
+extern void kdbprintf(const char *fmt, ...);