From 3ab44974ca90640cf4fb2628256b803ff980d1de Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Sun, 15 Jan 2012 11:07:32 +0000 Subject: [PATCH] Fix inconsistencies in man pages (missing quotes, typos). --- libfreefare/freefare.3 | 6 +++--- libfreefare/freefare_error.3 | 8 ++++---- libfreefare/mad.3 | 20 ++++++++++---------- libfreefare/mifare_application.3 | 6 +++--- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/libfreefare/freefare.3 b/libfreefare/freefare.3 index 1e19c48..c64ddaf 100644 --- a/libfreefare/freefare.3 +++ b/libfreefare/freefare.3 @@ -57,15 +57,15 @@ enum mifare_tag_type { CLASSIC_4K }; .Ed -.Ft enum mifare_tag_type +.Ft "enum mifare_tag_type" .Fn freefare_get_tag_type "MifareTag tag" .Ft "const char *" .Fn freefare_get_tag_friendly_name "MifareTag tag" .Ft "char *" .Fn freefare_get_tag_uid "MifareTag tag" -.Ft void +.Ft "void" .Fn freefare_free_tag "MifareTag tags" -.Ft void +.Ft "void" .Fn freefare_free_tags "MifareTag *tags" .\" ____ _ _ _ .\" | _ \ ___ ___ ___ _ __(_)_ __ | |_(_) ___ _ __ diff --git a/libfreefare/freefare_error.3 b/libfreefare/freefare_error.3 index c865757..3232847 100644 --- a/libfreefare/freefare_error.3 +++ b/libfreefare/freefare_error.3 @@ -52,10 +52,10 @@ Mifare card manipulation library (libfreefare, \-lfreefare) .Fn freefare_strerror_r "MifareTag tag" "char *buffer" "size_t len" .Ft "void" .Fn freefare_strerror "MifareTag tag" "char *string" -.Ft uint8_t -.Fm mifare_desfire_last_pcd_error "MifareTag tag" -.Ft uint8_t -.Fm mifare_desfire_last_picc_error "MifareTag tag" +.Ft "uint8_t" +.Fn mifare_desfire_last_pcd_error "MifareTag tag" +.Ft "uint8_t" +.Fn mifare_desfire_last_picc_error "MifareTag tag" .\" ____ _ _ _ .\" | _ \ ___ ___ ___ _ __(_)_ __ | |_(_) ___ _ __ .\" | | | |/ _ \/ __|/ __| '__| | '_ \| __| |/ _ \| '_ \ diff --git a/libfreefare/mad.3 b/libfreefare/mad.3 index 3d6506b..a149cd4 100644 --- a/libfreefare/mad.3 +++ b/libfreefare/mad.3 @@ -52,25 +52,25 @@ Mifare card manipulation library (libfreefare, \-lfreefare) .\" |___/ |_| .Sh SYNOPSIS .In freefare.h -.Ft Mad +.Ft "Mad" .Fn mad_new "uint8_t version" -.Ft Mad +.Ft "Mad" .Fn mad_read "MifareTag tag" -.Ft int +.Ft "int" .Fn mad_write "MifareTag tag" "Mad mad" "MifareClassicKey key_b_sector_00" "MifareClassicKey key_b_sector_10" -.Ft int +.Ft "int" .Fn mad_get_version "Mad mad" -.Ft void +.Ft "void" .Fn mad_set_version "Mad mad" "uint8_t version" -.Ft MifareClassicSectorNumber +.Ft "MifareClassicSectorNumber" .Fn mad_get_card_publisher_sector "Mad mad" -.Ft int +.Ft "int" .Fn mad_set_card_publisher_sector "Mad mad" "MifareClassicSectorNumber cps" -.Ft int +.Ft "int" .Fn mad_get_aid "Mad mad" "MifareClassicSectorNumber sector" "MadAid *aid" -.Ft int +.Ft "int" .Fn mad_set_aid "Mad mad" "MifareClassicSectorNumber sector" "MadAid aid" -.Ft void +.Ft "void" .Fn mad_free "Mad mad" .\" ____ _ _ _ .\" | _ \ ___ ___ ___ _ __(_)_ __ | |_(_) ___ _ __ diff --git a/libfreefare/mifare_application.3 b/libfreefare/mifare_application.3 index e3bde23..f4bdb62 100644 --- a/libfreefare/mifare_application.3 +++ b/libfreefare/mifare_application.3 @@ -49,13 +49,13 @@ Mifare card manipulation library (libfreefare, \-lfreefare) .In freefare.h .Ft "MifareClassicSectorNumber *" .Fn mifare_application_alloc "Mad mad" "MadAid aid" "size_t size" -.Ft void +.Ft "void" .Fn mifare_application_free "Mad mad" "MadAid aid" .Ft "MifareClassicSectorNumber *" .Fn mifare_application_find "Mad mad" "MadAid aid" -.Ft ssize_t +.Ft "ssize_t" .Fn mifare_application_read "MifareTag tag" "Mad mad" "MadAid aid" "void *buf" "size_t nbytes" "MifareClassicKey key" "MifareClassicKeyType key_type" -.Ft ssize_t +.Ft "ssize_t" .Fn mifare_application_write "MifareTag tag" "Mad mad" "MadAid aid" "const void *buf" "size_t nbytes" "MifareClassicKey key" "MifareClassicKeyType key_type" .\" ____ _ _ _ .\" | _ \ ___ ___ ___ _ __(_)_ __ | |_(_) ___ _ __