add debuginfod_get_headers if DUMMY_LIBDEBUGINFOD is used
authorMartin Liska <mliska@suse.cz>
Thu, 8 Sep 2022 09:12:53 +0000 (11:12 +0200)
committerMartin Liska <mliska@suse.cz>
Thu, 8 Sep 2022 09:14:31 +0000 (11:14 +0200)
Signed-off-by: Martin Liska <mliska@suse.cz>
debuginfod/ChangeLog
debuginfod/debuginfod-client.c

index bc6c11c..7713669 100644 (file)
@@ -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.
index 54dc3f2..272a6a7 100644 (file)
@@ -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 */