summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorNanako Shiraishi <nanako3@lavabit.com>2008-09-25 18:41:04 +0900
committerShawn O. Pearce <spearce@spearce.org>2008-09-29 07:30:16 -0700
commit07ad5a157d5f73941abfc3a511725d32e4c023d4 (patch)
tree2a5ccb0f319cae0ffca8277a2c8af197f2bc6a23 /git-compat-util.h
parent15dc66abf02fa22a03d709725bcaeeec4b809834 (diff)
downloadgit-07ad5a157d5f73941abfc3a511725d32e4c023d4.tar.gz
usage.c: remove unused functions
This removes three functions that are not used anywhere. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Acked-by: Lars Hjemli <hjemli@gmail.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index db2836fbde..2ac832f3b4 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -154,10 +154,7 @@ extern void die(const char *err, ...) NORETURN __attribute__((format (printf, 1,
extern int error(const char *err, ...) __attribute__((format (printf, 1, 2)));
extern void warning(const char *err, ...) __attribute__((format (printf, 1, 2)));
-extern void set_usage_routine(void (*routine)(const char *err) NORETURN);
extern void set_die_routine(void (*routine)(const char *err, va_list params) NORETURN);
-extern void set_error_routine(void (*routine)(const char *err, va_list params));
-extern void set_warn_routine(void (*routine)(const char *warn, va_list params));
extern int prefixcmp(const char *str, const char *prefix);
extern time_t tm_to_time_t(const struct tm *tm);