summaryrefslogtreecommitdiff
path: root/ddb/db_output.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-05 22:03:01 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-08 23:48:11 +0900
commit50a41a4e8f602a8619f42e8685a9b66d66f59f22 (patch)
tree9ae4617b0dcd58d4c422955037ca29b7fd24dc35 /ddb/db_output.c
parent653ebe7bf09d3f84dde263ac8fdecddb6239c36f (diff)
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.
Diffstat (limited to 'ddb/db_output.c')
-rw-r--r--ddb/db_output.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/ddb/db_output.c b/ddb/db_output.c
index 268de69..91ade91 100644
--- a/ddb/db_output.c
+++ b/ddb/db_output.c
@@ -215,16 +215,4 @@ db_printf(const char *fmt, ...)
va_end(listp);
}
-/* alternate name */
-
-/*VARARGS1*/
-void
-kdbprintf(const char *fmt, ...)
-{
- va_list listp;
- va_start(listp, fmt);
- _doprnt(fmt, listp, db_id_putc, db_radix, 0);
- va_end(listp);
-}
-
#endif /* MACH_KDB */