From 942fe87e2b590afe9fd26119dff6de4a17b7438e Mon Sep 17 00:00:00 2001 From: Alfonso Gregory <83477269+AtariDreams@users.noreply.github.com> Date: Mon, 30 Aug 2021 17:48:43 -0400 Subject: [PATCH] Add _CUPS_NORETURN to missing functions --- cups/tlscheck.c | 2 +- ppdc/ppdc.cxx | 2 +- ppdc/ppdhtml.cxx | 2 +- ppdc/ppdi.cxx | 2 +- ppdc/ppdmerge.cxx | 2 +- ppdc/ppdpo.cxx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) 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; // -- 2.47.2