From 50a41a4e8f602a8619f42e8685a9b66d66f59f22 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Thu, 5 Dec 2013 22:03:01 +0100 Subject: ddb/db_output.c: remove duplicate function Function kdbprintf() and db_printf() are the same function. Remove kdbprintf() and define kdbprintf to db_printf. * ddb/db_output.c (kdbprintf): Remove function. * ddb/db_output.h: Define kdbprintf to db_printf. (kdbprintf): Remove prototype. --- ddb/db_output.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ddb/db_output.h') diff --git a/ddb/db_output.h b/ddb/db_output.h index e7a4ba3b..e8866474 100644 --- a/ddb/db_output.h +++ b/ddb/db_output.h @@ -39,7 +39,8 @@ 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, ...); +/* alternate name */ +#define kdbprintf db_printf extern void db_putchar(int c); -extern void kdbprintf(const char *fmt, ...); #endif /* _DDB_DB_OUTPUT_H_ */ -- cgit v1.2.3