From: Martin Liska Date: Thu, 8 Sep 2022 09:12:53 +0000 (+0200) Subject: add debuginfod_get_headers if DUMMY_LIBDEBUGINFOD is used X-Git-Tag: elfutils-0.188~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51fbd8ea2efb9a8d053a50031e643c1b26e84d79;p=platform%2Fupstream%2Felfutils.git add debuginfod_get_headers if DUMMY_LIBDEBUGINFOD is used Signed-off-by: Martin Liska --- diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog index bc6c11c..7713669 100644 --- a/debuginfod/ChangeLog +++ b/debuginfod/ChangeLog @@ -1,3 +1,7 @@ +2022-09-08 Martin Liska + + * debuginfod-client.c (debuginfod_get_headers): Add to DUMMY_LIBDEBUGINFOD. + 2022-09-06 Frank Ch. Eigler * debuginfod-client.c (header_callback): Don't copy \r in x-d headers. diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c index 54dc3f2..272a6a7 100644 --- a/debuginfod/debuginfod-client.c +++ b/debuginfod/debuginfod-client.c @@ -63,6 +63,8 @@ void* debuginfod_get_user_data (debuginfod_client *c) { return NULL; } const char* debuginfod_get_url (debuginfod_client *c) { return NULL; } int debuginfod_add_http_header (debuginfod_client *c, const char *h) { return -ENOSYS; } +const char* debuginfod_get_headers (debuginfod_client *c) { return NULL; } + void debuginfod_end (debuginfod_client *c) { } #else /* DUMMY_LIBDEBUGINFOD */