From: Junio C Hamano Date: Sat, 24 Jun 2006 05:44:33 +0000 (-0700) Subject: usage: minimum type fix. X-Git-Tag: v1.4.1-rc2~34^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ce88ac5b129dd562a1062522039366ebbf1157e1;p=git.git usage: minimum type fix. Signed-off-by: Junio C Hamano --- 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); }