aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2020-06-02 18:56:06 +0100
committerNick Alcock <nick.alcock@oracle.com>2020-07-22 17:57:19 +0100
commitb64751cf0bc4466066c35e6c63348f900ce10272 (patch)
tree0b36d94bc2d2bb3a93464754571d61d9c32c5569
parentc9fe1b583c3f40abe8d9e03249e8da4348770de2 (diff)
downloadgdb-b64751cf0bc4466066c35e6c63348f900ce10272.zip
gdb-b64751cf0bc4466066c35e6c63348f900ce10272.tar.gz
gdb-b64751cf0bc4466066c35e6c63348f900ce10272.tar.bz2
include, libctf: typo fixes
include/ * ctf-api.h: Fix typos in comments. libctf/ * ctf-impl.h: Fix typos in comments.
-rw-r--r--include/ChangeLog4
-rw-r--r--include/ctf-api.h6
-rw-r--r--libctf/ChangeLog4
-rw-r--r--libctf/ctf-impl.h2
4 files changed, 12 insertions, 4 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 211d545..e2aabdc 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2020-07-22 Nick Alcock <nick.alcock@oracle.com>
+
+ * ctf-api.h: Fix typos in comments.
+
2020-07-22 H.J. Lu <hongjiu.lu@intel.com>
PR ld/26262
diff --git a/include/ctf-api.h b/include/ctf-api.h
index d6b05bc..bb1cf0f 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 c061ef8..88884a2 100644
--- a/libctf/ChangeLog
+++ b/libctf/ChangeLog
@@ -1,3 +1,7 @@
+2020-07-22 Nick Alcock <nick.alcock@oracle.com>
+
+ * ctf-impl.h: Fix typos in comments.
+
2020-07-22 Nick Clifton <nickc@redhat.com>
* 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 133ca0e..b20a4f0 100644
--- a/libctf/ctf-impl.h
+++ b/libctf/ctf-impl.h
@@ -37,7 +37,7 @@
#ifdef __cplusplus
extern "C"
- {
+{
#endif
/* Compiler attributes. */