From: Alfonso Gregory <83477269+AtariDreams@users.noreply.github.com> Date: Mon, 30 Aug 2021 21:48:43 +0000 (-0400) Subject: Add _CUPS_NORETURN to missing functions X-Git-Tag: v2.4b1~73^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F235%2Fhead;p=thirdparty%2Fcups.git Add _CUPS_NORETURN to missing functions --- diff --git a/cups/tlscheck.c b/cups/tlscheck.c index 2b82ae1bbc..a60797d430 100644 --- a/cups/tlscheck.c +++ b/cups/tlscheck.c @@ -24,7 +24,7 @@ int main(void) { puts("Sorry, no TLS support compiled in."); return (1); } * Local functions... */ -static void usage(void); +static void usage(void) _CUPS_NORETURN; /* diff --git a/ppdc/ppdc.cxx b/ppdc/ppdc.cxx index 5411b5e376..304649174a 100644 --- a/ppdc/ppdc.cxx +++ b/ppdc/ppdc.cxx @@ -21,7 +21,7 @@ // Local functions... // -static void usage(void); +static void usage(void) _CUPS_NORETURN; // diff --git a/ppdc/ppdhtml.cxx b/ppdc/ppdhtml.cxx index 506e661662..75636a9447 100644 --- a/ppdc/ppdhtml.cxx +++ b/ppdc/ppdhtml.cxx @@ -20,7 +20,7 @@ // Local functions... // -static void usage(void); +static void usage(void) _CUPS_NORETURN; // diff --git a/ppdc/ppdi.cxx b/ppdc/ppdi.cxx index e5bb0469aa..a2f9648f28 100644 --- a/ppdc/ppdi.cxx +++ b/ppdc/ppdi.cxx @@ -21,7 +21,7 @@ // Local functions... // -static void usage(void); +static void usage(void) _CUPS_NORETURN; // diff --git a/ppdc/ppdmerge.cxx b/ppdc/ppdmerge.cxx index 94d67ff839..1ab804399d 100644 --- a/ppdc/ppdmerge.cxx +++ b/ppdc/ppdmerge.cxx @@ -22,7 +22,7 @@ // static const char *ppd_locale(ppd_file_t *ppd); -static void usage(void); +static void usage(void) _CUPS_NORETURN; // diff --git a/ppdc/ppdpo.cxx b/ppdc/ppdpo.cxx index 244aaf186c..498b34e3d7 100644 --- a/ppdc/ppdpo.cxx +++ b/ppdc/ppdpo.cxx @@ -21,7 +21,7 @@ // static void add_ui_strings(ppdcDriver *d, ppdcCatalog *catalog); -static void usage(void); +static void usage(void) _CUPS_NORETURN; //