CLEANUP: cache: don't export http_cache_applet anymore

This one can become static since it's not used by http/htx anymore.
This commit is contained in:
Willy Tarreau 2019-03-19 09:57:55 +01:00
parent 2571bc6410
commit 0f22299435
4 changed files with 2 additions and 12 deletions

View File

@ -1,8 +0,0 @@
#ifndef _TYPES_CACHE_H
#define _TYPES_CACHE_H
struct applet http_cache_applet;
#endif /*_TYPES_CACHE_H */

View File

@ -48,7 +48,7 @@
const char *cache_store_flt_id = "cache store filter"; 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; 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); 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, .obj_type = OBJ_TYPE_APPLET,
.name = "<CACHE>", /* used for logging */ .name = "<CACHE>", /* used for logging */
.fct = http_cache_io_handler, .fct = http_cache_io_handler,

View File

@ -42,7 +42,6 @@
#include <types/cli.h> #include <types/cli.h>
#include <types/filters.h> #include <types/filters.h>
#include <types/global.h> #include <types/global.h>
#include <types/cache.h>
#include <types/stats.h> #include <types/stats.h>
#include <proto/acl.h> #include <proto/acl.h>

View File

@ -16,7 +16,6 @@
#include <common/htx.h> #include <common/htx.h>
#include <common/uri_auth.h> #include <common/uri_auth.h>
#include <types/cache.h>
#include <types/capture.h> #include <types/capture.h>
#include <proto/acl.h> #include <proto/acl.h>