From b64751cf0bc4466066c35e6c63348f900ce10272 Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Tue, 2 Jun 2020 18:56:06 +0100 Subject: [PATCH] include, libctf: typo fixes include/ * ctf-api.h: Fix typos in comments. libctf/ * ctf-impl.h: Fix typos in comments. --- include/ChangeLog | 4 ++++ include/ctf-api.h | 6 +++--- libctf/ChangeLog | 4 ++++ libctf/ctf-impl.h | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/include/ChangeLog b/include/ChangeLog index 211d54530e0..e2aabdc36b7 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2020-07-22 Nick Alcock + + * ctf-api.h: Fix typos in comments. + 2020-07-22 H.J. Lu PR ld/26262 diff --git a/include/ctf-api.h b/include/ctf-api.h index d6b05bc71fe..bb1cf0f50eb 100644 --- a/include/ctf-api.h +++ b/include/ctf-api.h @@ -30,7 +30,7 @@ #ifdef __cplusplus extern "C" - { +{ #endif /* Clients can open one or more CTF containers and obtain a pointer to an @@ -80,7 +80,7 @@ typedef struct ctf_link_sym /* Indication of how to share types when linking. */ -/* Share all types thare are not in conflict. The default. */ +/* Share all types that are not in conflict. The default. */ #define CTF_LINK_SHARE_UNCONFLICTED 0x0 /* Share only types that are used by multiple inputs. Not implemented yet. */ @@ -428,7 +428,7 @@ extern unsigned char *ctf_link_write (ctf_file_t *, size_t *size, size_t threshold); /* Specialist linker functions. These functions are not used by ld, but can be - used by other prgorams making use of the linker machinery for other purposes + used by other programs making use of the linker machinery for other purposes to customize its output. */ extern int ctf_link_add_cu_mapping (ctf_file_t *, const char *from, const char *to); diff --git a/libctf/ChangeLog b/libctf/ChangeLog index c061ef80b6e..88884a255f1 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,3 +1,7 @@ +2020-07-22 Nick Alcock + + * ctf-impl.h: Fix typos in comments. + 2020-07-22 Nick Clifton * ctf-archive.c (ctf_arc_write): Avoid calling close twice on the diff --git a/libctf/ctf-impl.h b/libctf/ctf-impl.h index 133ca0ee6e2..b20a4f05a80 100644 --- a/libctf/ctf-impl.h +++ b/libctf/ctf-impl.h @@ -37,7 +37,7 @@ #ifdef __cplusplus extern "C" - { +{ #endif /* Compiler attributes. */ -- 2.30.2