[master] 7fd371e0a Add missing decorators
Poul-Henning Kamp
phk at FreeBSD.org
Wed Oct 10 10:00:25 UTC 2018
commit 7fd371e0aef576a6ade084015129ed917f74ec74
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Oct 10 09:12:21 2018 +0000
Add missing decorators
diff --git a/bin/varnishd/cache/cache_esi_deliver.c b/bin/varnishd/cache/cache_esi_deliver.c
index cbc02c2c4..061d1e83c 100644
--- a/bin/varnishd/cache/cache_esi_deliver.c
+++ b/bin/varnishd/cache/cache_esi_deliver.c
@@ -574,7 +574,7 @@ struct ved_foo {
uint8_t tailbuf[8];
};
-static int
+static int v_matchproto_(objiterate_f)
ved_objiterate(void *priv, int flush, const void *ptr, ssize_t len)
{
struct ved_foo *foo;
diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index 04617f2f7..c1cf95f32 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -701,7 +701,7 @@ vbf_stp_fetchend(struct worker *wrk, struct busyobj *bo)
/*--------------------------------------------------------------------
*/
-static int
+static int v_matchproto_(objiterate_f)
vbf_objiterator(void *priv, int flush, const void *ptr, ssize_t len)
{
struct busyobj *bo;
More information about the varnish-commit
mailing list