diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-07-09 13:42:25 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-07-09 13:42:25 -0400 |
commit | a32af27c4c7ef29221d0764a251ff85244c20c64 (patch) | |
tree | befabaf68d828301ff2dd01eb2604f66cc92cf93 /systemv | |
parent | be3b49a3f9b9daf673860788780ec92f04c35d12 (diff) | |
download | cups-a32af27c4c7ef29221d0764a251ff85244c20c64.tar.gz |
Replace the rest of the uses of __attribute__ that need to be portable (Issue #5349)
Diffstat (limited to 'systemv')
-rw-r--r-- | systemv/cupsaddsmb.c | 2 | ||||
-rw-r--r-- | systemv/cupsctl.c | 2 | ||||
-rw-r--r-- | systemv/cupstestdsc.c | 2 | ||||
-rw-r--r-- | systemv/cupstestppd.c | 2 | ||||
-rw-r--r-- | systemv/lpoptions.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/systemv/cupsaddsmb.c b/systemv/cupsaddsmb.c index b995c0386..d1f9ac287 100644 --- a/systemv/cupsaddsmb.c +++ b/systemv/cupsaddsmb.c @@ -33,7 +33,7 @@ const char *SAMBAUser, */ int export_dest(http_t *http, const char *dest); -void usage(void) __attribute__((noreturn)); +void usage(void) _CUPS_NORETURN; /* diff --git a/systemv/cupsctl.c b/systemv/cupsctl.c index eedd01344..053029b23 100644 --- a/systemv/cupsctl.c +++ b/systemv/cupsctl.c @@ -19,7 +19,7 @@ * Local functions... */ -static void usage(const char *opt) __attribute__((noreturn)); +static void usage(const char *opt) _CUPS_NORETURN; /* diff --git a/systemv/cupstestdsc.c b/systemv/cupstestdsc.c index be332a411..085037511 100644 --- a/systemv/cupstestdsc.c +++ b/systemv/cupstestdsc.c @@ -21,7 +21,7 @@ */ static int check_file(const char *filename); -static void usage(void) __attribute__((noreturn)); +static void usage(void) _CUPS_NORETURN; /* diff --git a/systemv/cupstestppd.c b/systemv/cupstestppd.c index 75c303281..1880a2dfa 100644 --- a/systemv/cupstestppd.c +++ b/systemv/cupstestppd.c @@ -101,7 +101,7 @@ static int check_translations(ppd_file_t *ppd, int errors, int verbose, int warn); static void show_conflicts(ppd_file_t *ppd, const char *prefix); static int test_raster(ppd_file_t *ppd, int verbose); -static void usage(void) __attribute__((noreturn)); +static void usage(void) _CUPS_NORETURN; static int valid_path(const char *keyword, const char *path, int errors, int verbose, int warn); static int valid_utf8(const char *s); diff --git a/systemv/lpoptions.c b/systemv/lpoptions.c index ca148cd63..f80319a19 100644 --- a/systemv/lpoptions.c +++ b/systemv/lpoptions.c @@ -21,7 +21,7 @@ static void list_group(ppd_file_t *ppd, ppd_group_t *group); static void list_options(cups_dest_t *dest); -static void usage(void) __attribute__((noreturn)); +static void usage(void) _CUPS_NORETURN; /* |