[master] 43b39e5 Minor cleanups

Poul-Henning Kamp phk at FreeBSD.org
Mon Aug 18 08:38:34 CEST 2014


commit 43b39e5ff77b9ed01eb77bdc418fc422bf1beb89
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Aug 18 06:38:22 2014 +0000

    Minor cleanups

diff --git a/bin/varnishd/cache/cache.h b/bin/varnishd/cache/cache.h
index 9ff55f6..0e6a240 100644
--- a/bin/varnishd/cache/cache.h
+++ b/bin/varnishd/cache/cache.h
@@ -899,7 +899,6 @@ void EXP_Rearm(struct objcore *, double now, double ttl, double grace,
     double keep);
 void EXP_Touch(struct objcore *oc, double now);
 int EXP_NukeOne(struct busyobj *, struct lru *lru);
-void EXP_NukeLRU(struct worker *wrk, struct vsl_log *vsl, struct lru *lru);
 
 /* cache_fetch.c */
 enum vbf_fetch_mode_e {
@@ -1088,7 +1087,6 @@ void ObjSetFlag(const struct vfp_ctx *vc, enum obj_flags of, int val);
 /* cache_panic.c */
 void PAN_Init(void);
 const char *body_status_2str(enum body_status e);
-const char *reqbody_status_2str(enum req_body_state_e e);
 const char *sess_close_2str(enum sess_close sc, int want_desc);
 
 /* cache_pipe.c */
diff --git a/bin/varnishd/cache/cache_panic.c b/bin/varnishd/cache/cache_panic.c
index e130925..74dcab9 100644
--- a/bin/varnishd/cache/cache_panic.c
+++ b/bin/varnishd/cache/cache_panic.c
@@ -76,7 +76,7 @@ body_status_2str(enum body_status e)
 
 /*--------------------------------------------------------------------*/
 
-const char *
+static const char *
 reqbody_status_2str(enum req_body_state_e e)
 {
 	switch (e) {



More information about the varnish-commit mailing list