summaryrefslogtreecommitdiff
path: root/backend/usb-darwin.c
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-07-09 13:42:25 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-07-09 13:42:25 -0400
commita32af27c4c7ef29221d0764a251ff85244c20c64 (patch)
treebefabaf68d828301ff2dd01eb2604f66cc92cf93 /backend/usb-darwin.c
parentbe3b49a3f9b9daf673860788780ec92f04c35d12 (diff)
downloadcups-a32af27c4c7ef29221d0764a251ff85244c20c64.tar.gz
Replace the rest of the uses of __attribute__ that need to be portable (Issue #5349)
Diffstat (limited to 'backend/usb-darwin.c')
-rw-r--r--backend/usb-darwin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/usb-darwin.c b/backend/usb-darwin.c
index 4f31d031a..4a85b4766 100644
--- a/backend/usb-darwin.c
+++ b/backend/usb-darwin.c
@@ -290,10 +290,10 @@ static void status_timer_cb(CFRunLoopTimerRef timer, void *info);
#if defined(__i386__) || defined(__x86_64__)
static pid_t child_pid; /* Child PID */
-static void run_legacy_backend(int argc, char *argv[], int fd) __attribute__((noreturn)); /* Starts child backend process running as a ppc executable */
+static void run_legacy_backend(int argc, char *argv[], int fd) _CUPS_NORETURN; /* Starts child backend process running as a ppc executable */
#endif /* __i386__ || __x86_64__ */
static void sigterm_handler(int sig); /* SIGTERM handler */
-static void sigquit_handler(int sig, siginfo_t *si, void *unused) __attribute__((noreturn));
+static void sigquit_handler(int sig, siginfo_t *si, void *unused) _CUPS_NORETURN;
#ifdef PARSE_PS_ERRORS
static const char *next_line (const char *buffer);