summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-24 05:44:33 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-06-24 07:12:52 (GMT)
commitce88ac5b129dd562a1062522039366ebbf1157e1 (patch)
tree0c4fe1129d08bc3f4fb73c92feaea6c6ddc5128d
parent39a3f5ea7c0352a530338d30d4e618f6b4db84e4 (diff)
downloadgit-ce88ac5b129dd562a1062522039366ebbf1157e1.zip
git-ce88ac5b129dd562a1062522039366ebbf1157e1.tar.gz
git-ce88ac5b129dd562a1062522039366ebbf1157e1.tar.bz2
usage: minimum type fix.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--usage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usage.c b/usage.c
index b781b00..52c2e96 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);
}