From 2e0c40d09f13aafd43d3b696c74ee892d5d733a5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Feb 2026 14:10:32 +0100 Subject: m fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- contacts.5 | 2 +- libcontacts.h | 18 +++++++++--------- libcontacts.h.0 | 4 ++-- libcontacts_pgpkey_destroy.3 | 10 +++++----- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/contacts.5 b/contacts.5 index 483e35c..b1fbe6d 100644 --- a/contacts.5 +++ b/contacts.5 @@ -376,7 +376,7 @@ May only be specified once. .TP .B ICE Whether the contact shall be listed as an In Case of Emergency -(ICE) contact that can be view without unlocking the phone. +(ICE) contact that can be viewed without unlocking the phone. No data may be added to this entry. May only be specified once. .TP .B NPERSON diff --git a/libcontacts.h b/libcontacts.h index f0aa70b..cdd8774 100644 --- a/libcontacts.h +++ b/libcontacts.h @@ -1,4 +1,4 @@ -/* See LICENSE file for copyright and license details. */ +/* See LICENSE file for copyright and licence details. */ #ifndef LIBCONTACTS_H #define LIBCONTACTS_H @@ -46,13 +46,13 @@ struct libcontacts_address { * Birthday of contact */ struct libcontacts_birthday { - unsigned int year; /* asis, 0 for unknown */ - unsigned char month; /* january = 1, 0 for unknown */ - unsigned char day; /* asis, 0 for unknown */ + unsigned year; /* As is, 0 for unknown */ + unsigned char month; /* January = 1, 0 for unknown */ + unsigned char day; /* As is, 0 for unknown */ /** * This is applicable only if the birthday - * is on a leap day. One non-leap years, a + * is on a leap day. On non-leap years, a * birthday that occurs on a leap day is * observed the day after the leap day had * it existed; but if this flag is set, the @@ -83,7 +83,7 @@ struct libcontacts_birthday { struct libcontacts_block { /** * The service the block is applied to, - * must be begin with a dot, except if + * must begin with a dot, except if * it is: * - ".call" Telephone calls * - ".sms" SMS, MMS, and similar @@ -131,8 +131,8 @@ struct libcontacts_number { * Organisation information for contact */ struct libcontacts_organisation { - char *organisation; /* Orginisation the contact belongs to */ - char *title; /* The contact's title/role in the orginisation */ + char *organisation; /* Organisation the contact belongs to */ + char *title; /* The contact's title/role in the organisation */ char **unrecognised_data; /* Data not recognised by the library */ }; @@ -274,7 +274,7 @@ struct libcontacts_contact { /** * Whether the contact shall be listed as an ICE * (In Case of Emergency) contact that can be - * view without unlocking the phone + * viewed without unlocking the phone */ int in_case_of_emergency; diff --git a/libcontacts.h.0 b/libcontacts.h.0 index 67f63f1..650243c 100644 --- a/libcontacts.h.0 +++ b/libcontacts.h.0 @@ -131,7 +131,7 @@ When the contact celebrates his birthday. .BI "int " in_case_of_emergency Whether the contact shall be listed as an In Case of Emergency (ICE) contact that can be -view without unlocking the phone. +viewed without unlocking the phone. .TP .BI "enum libcontacts_gender " gender The gender of the contact. This lets applications select @@ -507,7 +507,7 @@ Deallocate memory for a contact telephone number entry. .BR libcontacts_organisation_destroy (3) Deallocate memory for a contact organisation membership entry. .TP -.BR libcontacts_pgp_destroy (3) +.BR libcontacts_pgpkey_destroy (3) Deallocate memory for a contact PGP-key fingerprint entry. .TP .BR libcontacts_site_destroy (3) diff --git a/libcontacts_pgpkey_destroy.3 b/libcontacts_pgpkey_destroy.3 index 2e88507..e062b86 100644 --- a/libcontacts_pgpkey_destroy.3 +++ b/libcontacts_pgpkey_destroy.3 @@ -1,11 +1,11 @@ -.TH LIBCONTACTS_PGP_DESTROY 3 LIBCONTACTS +.TH LIBCONTACTS_PGPKEY_DESTROY 3 LIBCONTACTS .SH NAME -libcontacts_pgp_destroy \- Deallocate memory for a contact PGP-key fingerprint entry +libcontacts_pgpkey_destroy \- Deallocate memory for a contact PGP-key fingerprint entry .SH SYNOPSIS .nf #include -int libcontacts_pgp_destroy(struct libcontacts_pgp *\fIentry\fP); +void libcontacts_pgpkey_destroy(struct libcontacts_pgpkey *\fIentry\fP); .fi .PP Link with @@ -13,14 +13,14 @@ Link with .SH DESCRIPTION The -.BR libcontacts_pgp_destroy () +.BR libcontacts_pgpkey_destroy () function deallocates the memory stored in .IR *entry . The caller must manually call .BR free (3) on the pointer .I entry -afterwards if it a freeable pointer. +afterwards if it is a freeable pointer. .SH RETURN VALUE None. -- cgit v1.2.3-70-g09d2