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 /filter | |
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 'filter')
-rw-r--r-- | filter/pstops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/pstops.c b/filter/pstops.c index 906a6e78c..d251abb0e 100644 --- a/filter/pstops.c +++ b/filter/pstops.c @@ -157,8 +157,7 @@ static ssize_t copy_trailer(cups_file_t *fp, pstops_doc_t *doc, ssize_t linelen, size_t linesize); static void do_prolog(pstops_doc_t *doc, ppd_file_t *ppd); static void do_setup(pstops_doc_t *doc, ppd_file_t *ppd); -static void doc_printf(pstops_doc_t *doc, const char *format, ...) - __attribute__ ((__format__ (__printf__, 2, 3))); +static void doc_printf(pstops_doc_t *doc, const char *format, ...) _CUPS_FORMAT(2, 3); static void doc_puts(pstops_doc_t *doc, const char *s); static void doc_write(pstops_doc_t *doc, const char *s, size_t len); static void end_nup(pstops_doc_t *doc, int number); |