summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-09-08 11:12:53 +0200
committerMartin Liska <mliska@suse.cz>2022-09-08 11:14:31 +0200
commit51fbd8ea2efb9a8d053a50031e643c1b26e84d79 (patch)
tree14771787948be425c6b2f3ccfbfc60eb301318ed
parent8760e931abf33ed2b215809d5ebf653ced934152 (diff)
downloadelfutils-51fbd8ea2efb9a8d053a50031e643c1b26e84d79.tar.gz
add debuginfod_get_headers if DUMMY_LIBDEBUGINFOD is used
Signed-off-by: Martin Liska <mliska@suse.cz>
-rw-r--r--debuginfod/ChangeLog4
-rw-r--r--debuginfod/debuginfod-client.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog
index bc6c11c9..77136698 100644
--- a/debuginfod/ChangeLog
+++ b/debuginfod/ChangeLog
@@ -1,3 +1,7 @@
+2022-09-08 Martin Liska <mliska@suse.cz>
+
+ * debuginfod-client.c (debuginfod_get_headers): Add to DUMMY_LIBDEBUGINFOD.
+
2022-09-06 Frank Ch. Eigler <fche@redhat.com>
* 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 54dc3f2f..272a6a7a 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 */