public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [NFC] debuginfod/doc: Fix typo debuginfo_progressfn_t -> debuginfod_progressfn_t
@ 2020-02-12 13:03 Konrad Kleine
  0 siblings, 0 replies; only message in thread
From: Konrad Kleine @ 2020-02-12 13:03 UTC (permalink / raw)
  To: elfutils-devel


[-- Attachment #1.1.1: Type: text/plain, Size: 107 bytes --]

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

[-- Attachment #1.1.2: 0001-NFC-debuginfod-doc-Fix-typo-debuginfo_progressfn_t-d.patch --]
[-- Type: text/x-patch, Size: 1476 bytes --]

From dce881a783fe6f2b01b1756404f474e1c4695967 Mon Sep 17 00:00:00 2001
From: Konrad Kleine <kkleine@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 <kkleine@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 #1.1.3: 0xC0A02C32BCB73099.asc --]
[-- Type: application/pgp-keys, Size: 6531 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 899 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-12 13:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12 13:03 [NFC] debuginfod/doc: Fix typo debuginfo_progressfn_t -> debuginfod_progressfn_t Konrad Kleine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).