From d9ac6b1d09443c165c497bb99c07f04617386ae7 Mon Sep 17 00:00:00 2001 From: oharboe Date: Fri, 7 Mar 2008 10:55:59 +0000 Subject: alloc_printf and alloc_vprintf git-svn-id: svn://svn.berlios.de/openocd/trunk@465 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/log.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/helper/log.h') diff --git a/src/helper/log.h b/src/helper/log.h index c4078447..f7d70394 100644 --- a/src/helper/log.h +++ b/src/helper/log.h @@ -67,7 +67,8 @@ typedef struct log_callback_s extern int log_add_callback(log_callback_fn fn, void *priv); extern int log_remove_callback(log_callback_fn fn, void *priv); -char *alloc_printf(const char *fmt, va_list ap); +char *alloc_vprintf(const char *fmt, va_list ap); +char *alloc_printf(const char *fmt, ...); extern int debug_level; -- cgit v1.2.3