aboutsummaryrefslogtreecommitdiff
path: root/libobjc/encoding.c
diff options
context:
space:
mode:
authorAndrew Kreimer <algonell@gmail.com>2024-09-20 11:40:32 +0300
committerAndrew Pinski <quic_apinski@quicinc.com>2024-09-23 20:55:07 +0000
commit0121b852c85db91babdb346f277ca6220eb7df86 (patch)
tree35bee548d04e57fc14b905146fa2c4bf8548b0fd /libobjc/encoding.c
parent4700ad1c78ccd7767f846802fca148b2ea9a1852 (diff)
downloadgcc-0121b852c85db91babdb346f277ca6220eb7df86.zip
gcc-0121b852c85db91babdb346f277ca6220eb7df86.tar.gz
gcc-0121b852c85db91babdb346f277ca6220eb7df86.tar.bz2
libobjc: Fix typos
Fix typos in comments. libobjc/ChangeLog: * Makefile.in: s/overrridden/overridden. * encoding.c (_darwin_rs6000_special_round_type_align): Fix typo in comment. (rs6000_special_round_type_align): Likewise. * exception.c (is_kind_of_exception_matcher): Likewise. (PERSONALITY_FUNCTION): Likewise. * hash.c (objc_hash_next): Likewise. * init.c (__objc_create_classes_tree): Likewise. * objc-private/objc-list.h (list_remove_head): Likewise. * sendmsg.c (__objc_install_dtable_for_class): Likewise. * thr.c (objc_thread_yield): Likewise. Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Diffstat (limited to 'libobjc/encoding.c')
-rw-r--r--libobjc/encoding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libobjc/encoding.c b/libobjc/encoding.c
index 7a2d2ab..f4fc4f4 100644
--- a/libobjc/encoding.c
+++ b/libobjc/encoding.c
@@ -151,7 +151,7 @@ static int __attribute__ ((__unused__)) not_target_flags = 0;
# undef TARGET_ALIGN_NATURAL
# define TARGET_ALIGN_NATURAL 1
# endif
-/* On Darwin32, we need to recurse until we find the starting stuct type. */
+/* On Darwin32, we need to recurse until we find the starting struct type. */
static int
_darwin_rs6000_special_round_type_align (const char *struc, int comp, int spec)
{
@@ -186,7 +186,7 @@ _darwin_rs6000_special_round_type_align (const char *struc, int comp, int spec)
/* FIXME: while this file has no business including tm.h, this
definitely has no business defining this macro but it
- is only way around without really rewritting this file,
+ is only way around without really rewriting this file,
should look after the branch of 3.4 to fix this. */
#define rs6000_special_round_type_align(STRUCT, COMPUTED, SPECIFIED) \
({ const char *_fields = TYPE_FIELDS (STRUCT); \