]> git.ipfire.org Git - thirdparty/elfutils.git/commit
debuginfod: Make sure there is only one typedef for debuginfod_client
authorMark Wielaard <mark@klomp.org>
Mon, 6 Feb 2023 09:21:58 +0000 (10:21 +0100)
committerMark Wielaard <mark@klomp.org>
Mon, 6 Feb 2023 09:21:58 +0000 (10:21 +0100)
commit45576ab5f24cd39669a418fa8e005b4d04f8e9ca
treeb08627ab8372ac5d0c3444a2180c689715a8d596
parentdd3c621ff36f73cb26d89a2fd5ea384a5b33334c
debuginfod: Make sure there is only one typedef for debuginfod_client

Both debuginfod.h and libdwfl.h have a simple typedef for struct
debuginfod_client. Some compilers pedantically warn when including
both headers that such typedefs are only officially supported in
C11. So guard them with _ELFUTILS_DEBUGINFOD_CLIENT_TYPEDEF to
make them happy.

https://sourceware.org/bugzilla/show_bug.cgi?id=30077

Signed-off-by: Mark Wielaard <mark@klomp.org>
debuginfod/ChangeLog
debuginfod/debuginfod.h.in
libdwfl/ChangeLog
libdwfl/libdwfl.h