[PATCH] cmdline: add cmdline_ prefix to dprintf
Thomas Monjalon
thomas at monjalon.net
Tue Oct 13 11:08:32 CEST 2026
> On Tue, Sep 08, 2026 at 11:15:34AM +0100, Marat Khalili wrote:
> > Macro `dprintf` defined in `cmdline_cirbuf.h` may clash with eponymous
> > glibc macro. Add `cmdline_` prefix to the one defined by DPDK.
> >
> > Signed-off-by: Marat Khalili <marat.khalili at huawei.com>
> > ---
> > lib/cmdline/cmdline.c | 2 +-
> > lib/cmdline/cmdline_cirbuf.c | 28 ++++++++++++++--------------
> > lib/cmdline/cmdline_cirbuf.h | 6 +++---
> > lib/cmdline/cmdline_socket.c | 2 +-
> > 4 files changed, 19 insertions(+), 19 deletions(-)
> >
> Strange that we have never hit this issue before, but good fix.
>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev at huawei.com>
Applied, thanks.
More information about the dev
mailing list