mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 05:41:26 +02:00
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:
parent
8ead1d084a
commit
ebab60279e
@ -5173,12 +5173,6 @@ void http_destroy_txn(struct stream *s)
|
|||||||
|
|
||||||
DECLARE_POOL(pool_head_http_txn, "http_txn", sizeof(struct http_txn));
|
DECLARE_POOL(pool_head_http_txn, "http_txn", sizeof(struct http_txn));
|
||||||
|
|
||||||
__attribute__((constructor))
|
|
||||||
static void __http_protocol_init(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local variables:
|
* Local variables:
|
||||||
* c-indent-level: 8
|
* c-indent-level: 8
|
||||||
|
@ -490,11 +490,6 @@ struct redirect_rule *http_parse_redirect_rule(const char *file, int linenum, st
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
__attribute__((constructor))
|
|
||||||
static void __http_rules_init(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local variables:
|
* Local variables:
|
||||||
* c-indent-level: 8
|
* c-indent-level: 8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user