debuginfod_default_progressfn was added without a corresponding dummy
variant, causing an error when building with --disable-debuginfod and
--enable-libdebuginfod=dummy.

Signed-off-by: Aaron Merey <[email protected]>
---
 debuginfod/debuginfod-client.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c
index 68fa9511..659d6f91 100644
--- a/debuginfod/debuginfod-client.c
+++ b/debuginfod/debuginfod-client.c
@@ -82,6 +82,8 @@ 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; }
+int debuginfod_default_progressfn (debuginfod_client *c, long a, long b)
+                                   { return 0; }
 
 void debuginfod_end (debuginfod_client *c) { }
 
-- 
2.53.0

Reply via email to