[master] f5179ab Try to isolate this even better.

Poul-Henning Kamp phk at FreeBSD.org
Thu Mar 9 11:31:05 CET 2017


commit f5179ab2c0dea8febdd8f3f2142c804591b29409
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Mar 9 10:29:37 2017 +0000

    Try to isolate this even better.
    
    Fixes #2250  (again)

diff --git a/include/vrt.h b/include/vrt.h
index 06080ea..34da0ac 100644
--- a/include/vrt.h
+++ b/include/vrt.h
@@ -65,8 +65,10 @@
 
 /***********************************************************************/
 
-#ifndef __v_printflike
-#  define __v_printflike(a,b)
+#ifdef __v_printflike
+#  define __vrt_printflike(a,b) __v_printflike(a,b)
+#else
+#  define __vrt_printflike(a,b) 
 #endif
 
 struct VCL_conf;
@@ -300,7 +302,7 @@ struct http *VRT_selecthttp(VRT_CTX, enum gethdr_e);
 const char *VRT_GetHdr(VRT_CTX, const struct gethdr_s *);
 void VRT_SetHdr(VRT_CTX, const struct gethdr_s *, const char *, ...);
 void VRT_handling(VRT_CTX, unsigned hand);
-void VRT_fail(VRT_CTX, const char *fmt, ...) __v_printflike(2,3);
+void VRT_fail(VRT_CTX, const char *fmt, ...) __vrt_printflike(2,3);
 
 void VRT_hashdata(VRT_CTX, const char *str, ...);
 



More information about the varnish-commit mailing list