diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2021-09-05 09:02:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 09:02:05 -0400 |
commit | 3499fe16da4026511f775946d7a43eef9f903400 (patch) | |
tree | ac928a93623f3c97b79db52e8b4c3ff98355506e | |
parent | 9d4e1ef79a96008a747ddaab9578157db4c65515 (diff) | |
parent | 10d19ff155bfc02e1d9924e57d618e6b3f182e79 (diff) | |
download | cups-3499fe16da4026511f775946d7a43eef9f903400.tar.gz |
Merge pull request #5952 from AtariDreams/modern-c
Add _CUPS_NORETURN to missing functions
-rw-r--r-- | cups/tlscheck.c | 2 | ||||
-rw-r--r-- | ppdc/ppdc.cxx | 2 | ||||
-rw-r--r-- | ppdc/ppdhtml.cxx | 2 | ||||
-rw-r--r-- | ppdc/ppdi.cxx | 2 | ||||
-rw-r--r-- | ppdc/ppdmerge.cxx | 2 | ||||
-rw-r--r-- | ppdc/ppdpo.cxx | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/cups/tlscheck.c b/cups/tlscheck.c index c88e7d091..4b0be1f83 100644 --- a/cups/tlscheck.c +++ b/cups/tlscheck.c @@ -22,7 +22,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 5411b5e37..304649174 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 506e66166..75636a944 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 e5bb0469a..a2f9648f2 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 94d67ff83..1ab804399 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 244aaf186..498b34e3d 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; // |