summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfonso Gregory <83477269+AtariDreams@users.noreply.github.com>2021-08-30 17:32:38 -0400
committerAlfonso Gregory <83477269+AtariDreams@users.noreply.github.com>2021-09-01 14:03:10 -0400
commit10d19ff155bfc02e1d9924e57d618e6b3f182e79 (patch)
treeac928a93623f3c97b79db52e8b4c3ff98355506e
parent9d4e1ef79a96008a747ddaab9578157db4c65515 (diff)
downloadcups-10d19ff155bfc02e1d9924e57d618e6b3f182e79.tar.gz
Add _CUPS_NORETURN to missing functions
-rw-r--r--cups/tlscheck.c2
-rw-r--r--ppdc/ppdc.cxx2
-rw-r--r--ppdc/ppdhtml.cxx2
-rw-r--r--ppdc/ppdi.cxx2
-rw-r--r--ppdc/ppdmerge.cxx2
-rw-r--r--ppdc/ppdpo.cxx2
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;
//