From: Jim Meyering Date: Thu, 17 Dec 2009 15:51:29 +0000 (+0100) Subject: build: avoid warning about possibly-no-return functions X-Git-Tag: v1.4~19 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=ef3866f22eba1682e83530d43169b159a4038f8d;p=debian%2Fgzip build: avoid warning about possibly-no-return functions * gzip.h (read_error, write_error): Mark these functions as "no-return". --- diff --git a/gzip.h b/gzip.h index 1ab89e6..7addad9 100644 --- a/gzip.h +++ b/gzip.h @@ -333,8 +333,8 @@ extern char *add_envopt OF((int *argcp, char ***argvp, char const *env)); extern void gzip_error OF((char const *m)) ATTRIBUTE_NORETURN; extern void xalloc_die OF((void)) ATTRIBUTE_NORETURN; extern void warning OF((char const *m)); -extern void read_error OF((void)); -extern void write_error OF((void)); +extern void read_error OF((void)) ATTRIBUTE_NORETURN; +extern void write_error OF((void)) ATTRIBUTE_NORETURN; extern void display_ratio OF((off_t num, off_t den, FILE *file)); extern void fprint_off OF((FILE *, off_t, int));