X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-compat-util.h;h=139fc19108cab51eb23659868ef8600ff6b25795;hb=68faf68938ee943fc251c702f2027e4dfda354db;hp=7534db1267bfa64a4a0cba80680fefc42177f0e8;hpb=e286114d0edbed846149227d48f75338fea760e5;p=git.git diff --git a/git-compat-util.h b/git-compat-util.h index 7534db126..139fc1910 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -87,7 +87,7 @@ extern void usage(const char *err) NORETURN; extern void die(const char *err, ...) NORETURN __attribute__((format (printf, 1, 2))); extern int error(const char *err, ...) __attribute__((format (printf, 1, 2))); -extern void warn(const char *err, ...) __attribute__((format (printf, 1, 2))); +extern void warning(const char *err, ...) __attribute__((format (printf, 1, 2))); extern void set_usage_routine(void (*routine)(const char *err) NORETURN); extern void set_die_routine(void (*routine)(const char *err, va_list params) NORETURN);