summaryrefslogtreecommitdiff
path: root/src/helper/log.h
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-07 10:55:59 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-07 10:55:59 +0000
commitd9ac6b1d09443c165c497bb99c07f04617386ae7 (patch)
tree6cd803100c513d86f2a8d92ca274e2b6e75780e1 /src/helper/log.h
parent96261e827782235709fcdfb2c1bbb93fedc977be (diff)
downloadopenocd+libswd-d9ac6b1d09443c165c497bb99c07f04617386ae7.tar.gz
openocd+libswd-d9ac6b1d09443c165c497bb99c07f04617386ae7.tar.bz2
openocd+libswd-d9ac6b1d09443c165c497bb99c07f04617386ae7.tar.xz
openocd+libswd-d9ac6b1d09443c165c497bb99c07f04617386ae7.zip
alloc_printf and alloc_vprintf
git-svn-id: svn://svn.berlios.de/openocd/trunk@465 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/log.h')
-rw-r--r--src/helper/log.h3
1 files changed, 2 insertions, 1 deletions
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;