BUILD: http: remove the two unused constructors in rules and ana

__http_protocol_init() and __http_rules_init() were empty leftovers
from a previous more intense use of constructors. Let's just get rid
of them now.
This commit is contained in:
Willy Tarreau 2022-04-25 19:26:26 +02:00
parent 8ead1d084a
commit ebab60279e
2 changed files with 0 additions and 11 deletions

View File

@ -5173,12 +5173,6 @@ void http_destroy_txn(struct stream *s)
DECLARE_POOL(pool_head_http_txn, "http_txn", sizeof(struct http_txn));
__attribute__((constructor))
static void __http_protocol_init(void)
{
}
/*
* Local variables:
* c-indent-level: 8

View File

@ -490,11 +490,6 @@ struct redirect_rule *http_parse_redirect_rule(const char *file, int linenum, st
return NULL;
}
__attribute__((constructor))
static void __http_rules_init(void)
{
}
/*
* Local variables:
* c-indent-level: 8