mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-19 05:25:41 +00:00
BUILD: tools: remove obsolete and conflicting trace() from standard.c
Since commit 4c2ae48375
("MINOR: trace: implement a very basic trace()
function") merged in 2.1, trace() is an inline function. It must not
appear in standard.c anymore and may break build depending on includes.
This can be backported to 2.1.
This commit is contained in:
parent
27d00c0167
commit
55a6c4f34d
@ -4360,14 +4360,6 @@ int varint_bytes(uint64_t v)
|
||||
return len;
|
||||
}
|
||||
|
||||
/* do nothing, just a placeholder for debugging calls, the real one is in trace.c */
|
||||
#ifndef USE_OBSOLETE_LINKER
|
||||
__attribute__((weak,format(printf, 1, 2)))
|
||||
#endif
|
||||
void trace(char *msg, ...)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* Local variables:
|
||||
* c-indent-level: 8
|
||||
|
Loading…
Reference in New Issue
Block a user