[master] 21004be GCC doesn't like attributes on typedefs

Poul-Henning Kamp phk at FreeBSD.org
Thu Sep 14 17:48:07 UTC 2017


commit 21004bed6f85f65aaaa892c01c96440a5a6d3730
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Sep 14 17:46:39 2017 +0000

    GCC doesn't like attributes on typedefs

diff --git a/include/vas.h b/include/vas.h
index ec4adc5..76bcb75 100644
--- a/include/vas.h
+++ b/include/vas.h
@@ -46,8 +46,7 @@ enum vas_e {
 	VAS_VCL,
 };
 
-typedef void vas_f(const char *, const char *, int, const char *, enum vas_e)
-    __attribute__((__noreturn__));
+typedef void vas_f(const char *, const char *, int, const char *, enum vas_e);
 
 extern vas_f *VAS_Fail_Func __attribute__((__noreturn__));
 extern vas_f VAS_Fail __attribute__((__noreturn__));


More information about the varnish-commit mailing list