X-Git-Url: https://git.distorted.org.uk/~mdw/dvdrip/blobdiff_plain/9384977e8281268274ff8a5f7bdd54bac1efad89..53a3ad57a06b5709b3bd356ccdcb2a97d4acee81:/lib.c diff --git a/lib.c b/lib.c index 7fecbc4..08616a7 100644 --- a/lib.c +++ b/lib.c @@ -8,7 +8,6 @@ void set_prog(const char *p) void vmoan(const char *fmt, va_list ap) { fprintf(stderr, "%s: ", prog); vfprintf(stderr, fmt, ap); } -__attribute__((format(printf, 1, 2))) void moan(const char *fmt, ...) { va_list ap; @@ -17,7 +16,6 @@ void moan(const char *fmt, ...) fputc('\n', stderr); } -__attribute__((noreturn, format(printf, 1, 2))) void bail(const char *fmt, ...) { va_list ap; @@ -27,7 +25,6 @@ void bail(const char *fmt, ...) exit(2); } -__attribute__((noreturn, format(printf, 2, 3))) void bail_syserr(int err, const char *fmt, ...) { va_list ap;