summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2010-03-06 16:40:39 +0100
committerJunio C Hamano <gitster@pobox.com>2010-03-07 00:37:35 -0800
commitebaa79f462c48e0ed0341d9c8f9c97de557afcfd (patch)
treef3657097f459f1446ec6dce275aeac8101261f50 /git-compat-util.h
parent1d8cd418b49f08146d6d47cf8881965f922686cb (diff)
downloadgit-ebaa79f462c48e0ed0341d9c8f9c97de557afcfd.tar.gz
Make report() from usage.c public as vreportf() and use it.
There exist already a number of static functions named 'report', therefore, the function name was changed. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index a3c4537366..3cabcdd8c4 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -192,6 +192,7 @@ extern char *gitbasename(char *);
#include "compat/bswap.h"
/* General helper functions */
+extern void vreportf(const char *prefix, const char *err, va_list params);
extern NORETURN void usage(const char *err);
extern NORETURN void usagef(const char *err, ...) __attribute__((format (printf, 1, 2)));
extern NORETURN void die(const char *err, ...) __attribute__((format (printf, 1, 2)));