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

13 lines
414 B
Diff
Raw Normal View History

2016-10-04 08:15:57 +00:00
--- numlib/numsup.h 2015-10-26 05:17:33.000000000 +0100
+++ 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, ...);