]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/raster-private.h
Move away from using __attribute__ directly (Issue #5349)
[thirdparty/cups.git] / cups / raster-private.h
index 19cf295e67fff8cb951df7081a0c3b621eec4a0a..a776714e03bf21ce6716241dc709c593f67ab1ec 100644 (file)
@@ -1,10 +1,11 @@
 /*
  * Private image library definitions for CUPS.
  *
- * Copyright 2007-2015 by Apple Inc.
- * Copyright 1993-2006 by Easy Software Products.
+ * Copyright © 2007-2018 by Apple Inc.
+ * Copyright © 1993-2006 by Easy Software Products.
  *
- * Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
+ * Licensed under Apache License v2.0.  See the file "LICENSE" for more
+ * information.
  */
 
 #ifndef _CUPS_RASTER_PRIVATE_H_
  * Prototypes...
  */
 
-extern int             _cupsRasterExecPS(cups_page_header2_t *h,
-                                         int *preferred_bits,
-                                         const char *code)
-                                         __attribute__((nonnull(3)));
-extern void            _cupsRasterAddError(const char *f, ...)
-                       __attribute__((__format__(__printf__, 1, 2)));
+extern int             _cupsRasterExecPS(cups_page_header2_t *h, int *preferred_bits,
+                                         const char *code) _CUPS_NONNULL(3);
+extern void            _cupsRasterAddError(const char *f, ...) _CUPS_FORMAT(1,2);
 extern void            _cupsRasterClearError(void);
 
 #endif /* !_CUPS_RASTER_PRIVATE_H_ */