aboutsummaryrefslogtreecommitdiff
path: root/usage.c
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 /usage.c
parent15dc66abf02fa22a03d709725bcaeeec4b809834 (diff)
downloadgit-07ad5a157d5f73941abfc3a511725d32e4c023d4.tar.gz
git-07ad5a157d5f73941abfc3a511725d32e4c023d4.tar.xz
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 'usage.c')
-rw-r--r--usage.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/usage.c b/usage.c
index a5fc4ec5f..24f5fc00c 100644
--- a/usage.c
+++ b/usage.c
@@ -41,27 +41,11 @@ static void (*die_routine)(const char *err, va_list params) NORETURN = die_built
static void (*error_routine)(const char *err, va_list params) = error_builtin;
static void (*warn_routine)(const char *err, va_list params) = warn_builtin;
-void set_usage_routine(void (*routine)(const char *err) NORETURN)
-{
- usage_routine = routine;
-}
-
void set_die_routine(void (*routine)(const char *err, va_list params) NORETURN)
{
die_routine = routine;
}
-void set_error_routine(void (*routine)(const char *err, va_list params))
-{
- error_routine = routine;
-}
-
-void set_warn_routine(void (*routine)(const char *warn, va_list params))
-{
- warn_routine = routine;
-}
-
-
void usage(const char *err)
{
usage_routine(err);