I've copied the type name for the progress function from the manual and noticed 
that it didn't compile...
From dce881a783fe6f2b01b1756404f474e1c4695967 Mon Sep 17 00:00:00 2001
From: Konrad Kleine <kkle...@redhat.com>
Date: Wed, 12 Feb 2020 07:59:50 -0500
Subject: [PATCH] [NFC] debuginfod/doc: Fix typo debuginfo_progressfn_t ->
 debuginfod_progressfn_t

I've copied the type name for the progress function from the manual and
noticed that it didn't compile...

Signed-off-by: Konrad Kleine <kkle...@redhat.com>
---
 doc/debuginfod_find_debuginfo.3 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/debuginfod_find_debuginfo.3 b/doc/debuginfod_find_debuginfo.3
index 7e5060f2..c232ac71 100644
--- a/doc/debuginfod_find_debuginfo.3
+++ b/doc/debuginfod_find_debuginfo.3
@@ -38,10 +38,10 @@ debuginfod_find_debuginfo \- request debuginfo from debuginfod
 .BI "                           const char *" filename ","
 .BI "                           char ** " path ");"
 
-.BI "typedef int (*debuginfo_progressfn_t)(debuginfod_client *" client ","
-.BI "                                      long a, long b);"
+.BI "typedef int (*debuginfod_progressfn_t)(debuginfod_client *" client ","
+.BI "                                       long a, long b);"
 .BI "void debuginfod_set_progressfn(debuginfod_client *" client ","
-.BI "                               debuginfo_progressfn_t " progressfn ");"
+.BI "                               debuginfod_progressfn_t " progressfn ");"
 
 Link with \fB-ldebuginfod\fP.
 
-- 
2.17.1

Attachment: 0xC0A02C32BCB73099.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to