Browse Source

usage: minimum type fix.

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Junio C Hamano 19 years ago
parent
commit
ce88ac5b12
  1. 6
      usage.c

6
usage.c

@ -12,19 +12,19 @@ static void report(const char *prefix, const char *err, va_list params) @@ -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);
}

Loading…
Cancel
Save