aboutsummaryrefslogtreecommitdiff
path: root/usage.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-23 22:44:33 -0700
committerJunio C Hamano <junkio@cox.net>2006-06-24 00:12:52 -0700
commitce88ac5b129dd562a1062522039366ebbf1157e1 (patch)
tree0c4fe1129d08bc3f4fb73c92feaea6c6ddc5128d /usage.c
parent39a3f5ea7c0352a530338d30d4e618f6b4db84e4 (diff)
downloadgit-ce88ac5b129dd562a1062522039366ebbf1157e1.tar.gz
git-ce88ac5b129dd562a1062522039366ebbf1157e1.tar.xz
usage: minimum type fix.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'usage.c')
-rw-r--r--usage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usage.c b/usage.c
index b781b0061..52c2e9605 100644
--- a/usage.c
+++ b/usage.c
@@ -12,19 +12,19 @@ static void report(const char *prefix, const char *err, va_list params)
fputs("\n", stderr);
}
-void usage_builtin(const char *err)
+static NORETURN void usage_builtin(const char *err)
{
fprintf(stderr, "usage: %s\n", err);
exit(129);
}
-void die_builtin(const char *err, va_list params)
+static NORETURN void die_builtin(const char *err, va_list params)
{
report("fatal: ", err, params);
exit(128);
}
-void error_builtin(const char *err, va_list params)
+static void error_builtin(const char *err, va_list params)
{
report("error: ", err, params);
}