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 /scheduler/ipp.c | |
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 'scheduler/ipp.c')
-rw-r--r-- | scheduler/ipp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scheduler/ipp.c b/scheduler/ipp.c index 89058d285..979b31a8b 100644 --- a/scheduler/ipp.c +++ b/scheduler/ipp.c @@ -115,9 +115,7 @@ static void save_auth_info(cupsd_client_t *con, cupsd_job_t *job, static void send_document(cupsd_client_t *con, ipp_attribute_t *uri); static void send_http_error(cupsd_client_t *con, http_status_t status, cupsd_printer_t *printer); -static void send_ipp_status(cupsd_client_t *con, ipp_status_t status, - const char *message, ...) - __attribute__((__format__(__printf__, 3, 4))); +static void send_ipp_status(cupsd_client_t *con, ipp_status_t status, const char *message, ...) _CUPS_FORMAT(3, 4); static void set_default(cupsd_client_t *con, ipp_attribute_t *uri); static void set_job_attrs(cupsd_client_t *con, ipp_attribute_t *uri); static void set_printer_attrs(cupsd_client_t *con, ipp_attribute_t *uri); |