diff --git a/include/types/cache.h b/include/types/cache.h deleted file mode 100644 index 3c4300652..000000000 --- a/include/types/cache.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef _TYPES_CACHE_H -#define _TYPES_CACHE_H - -struct applet http_cache_applet; - -#endif /*_TYPES_CACHE_H */ - - diff --git a/src/cache.c b/src/cache.c index a24c28474..879e068c5 100644 --- a/src/cache.c +++ b/src/cache.c @@ -48,7 +48,7 @@ const char *cache_store_flt_id = "cache store filter"; -struct applet http_cache_applet; +static struct applet http_cache_applet; struct flt_ops cache_ops; @@ -1839,7 +1839,7 @@ static struct action_kw_list http_req_actions = { INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions); -struct applet http_cache_applet = { +static struct applet http_cache_applet = { .obj_type = OBJ_TYPE_APPLET, .name = "", /* used for logging */ .fct = http_cache_io_handler, diff --git a/src/proto_http.c b/src/proto_http.c index 637396697..85e007b49 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -42,7 +42,6 @@ #include #include #include -#include #include #include diff --git a/src/proto_htx.c b/src/proto_htx.c index 9e0a13564..80d7fa15c 100644 --- a/src/proto_htx.c +++ b/src/proto_htx.c @@ -16,7 +16,6 @@ #include #include -#include #include #include