void-packages/srcpkgs/argyllcms/patches/fix-gcc6-attribute_numsup_h...

13 lines
418 B
Diff

--- a/numlib/numsup.h 2015-10-26 05:17:33.000000000 +0100
+++ b/numlib/numsup.h 2016-10-04 10:10:28.732000000 +0200
@@ -324,7 +324,7 @@
#define error_program g_log->tag
extern void set_exe_path(char *arg0);
-extern void ATTRIBUTE_NORETURN error(char *fmt, ...);
+extern void error(char *fmt, ...) __attribute__((noreturn));
extern void warning(char *fmt, ...);
extern void verbose(int level, char *fmt, ...);