mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 06:06:59 -04:00
BUILD: acme: avoid declaring TRACE_SOURCE in acme-t.h
Files ending with '-t.h' are supposed to be used for structure definitions and could be included in the same file to check API definitions. This patch removes TRACE_SOURCE from acme-t.h to avoid conflicts with other TRACE_SOURCE definitions.
This commit is contained in:
parent
a6e67e7b41
commit
09275fd549
2 changed files with 2 additions and 3 deletions
|
|
@ -94,7 +94,4 @@ struct acme_ctx {
|
|||
#define ACME_VERB_ADVANCED 4
|
||||
#define ACME_VERB_COMPLETE 5
|
||||
|
||||
#define TRACE_SOURCE &trace_acme
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -36,6 +36,8 @@
|
|||
#include <haproxy/tools.h>
|
||||
#include <haproxy/trace.h>
|
||||
|
||||
#define TRACE_SOURCE &trace_acme
|
||||
|
||||
#if defined(HAVE_ACME)
|
||||
|
||||
static void acme_trace(enum trace_level level, uint64_t mask, const struct trace_source *src,
|
||||
|
|
|
|||
Loading…
Reference in a new issue