usage: minimum type fix.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano 2006-06-23 22:44:33 -07:00
parent 39a3f5ea7c
commit ce88ac5b12

View File

@ -12,19 +12,19 @@ static void report(const char *prefix, const char *err, va_list params)
fputs("\n", stderr); fputs("\n", stderr);
} }
void usage_builtin(const char *err) static NORETURN void usage_builtin(const char *err)
{ {
fprintf(stderr, "usage: %s\n", err); fprintf(stderr, "usage: %s\n", err);
exit(129); 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); report("fatal: ", err, params);
exit(128); 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); report("error: ", err, params);
} }