aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-07-21 15:38:21 +0000
committerMike Stump <mrs@gcc.gnu.org>2013-07-21 15:38:21 +0000
commitcad10e055f078039ad10c2582d18a4441f4c9cad (patch)
tree2bfed6838fc6b4ca67f2f8653daa6500324f72fd
parent587ae1e3bd7ead48424cdcb9b16d842fa828c6fd (diff)
downloadgcc-cad10e055f078039ad10c2582d18a4441f4c9cad.zip
gcc-cad10e055f078039ad10c2582d18a4441f4c9cad.tar.gz
gcc-cad10e055f078039ad10c2582d18a4441f4c9cad.tar.bz2
class.c: Fix typos.
2013-07-21 Ondřej Bílka <neleai@seznam.cz> * class.c: Fix typos. * encoding.c: Likewise. * init.c: Likewise. * objc-private/runtime.h: Likewise. * objc/runtime.h: Likewise. * objc-sync.c: Likewise. From-SVN: r201097
-rw-r--r--libobjc/ChangeLog9
-rw-r--r--libobjc/class.c2
-rw-r--r--libobjc/encoding.c2
-rw-r--r--libobjc/init.c6
-rw-r--r--libobjc/objc-private/runtime.h4
-rw-r--r--libobjc/objc-sync.c2
-rw-r--r--libobjc/objc/runtime.h4
7 files changed, 19 insertions, 10 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index d26fd1d..c2e1a28 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,3 +1,12 @@
+2013-07-21 Ondřej Bílka <neleai@seznam.cz>
+
+ * class.c: Fix typos.
+ * encoding.c: Likewise.
+ * init.c: Likewise.
+ * objc-private/runtime.h: Likewise.
+ * objc/runtime.h: Likewise.
+ * objc-sync.c: Likewise.
+
2013-07-04 Kai Tietz <ktietz@redhat.com>
* exception.c: Add check for SjLj to SEH blocks.
diff --git a/libobjc/class.c b/libobjc/class.c
index 3c912ee..c90603e 100644
--- a/libobjc/class.c
+++ b/libobjc/class.c
@@ -764,7 +764,7 @@ objc_get_meta_class (const char *name)
}
/* This is not used by GCC, but the clang compiler seems to use it
- when targetting the GNU runtime. That's wrong, but we have it to
+ when targeting the GNU runtime. That's wrong, but we have it to
be compatible. */
Class
objc_lookup_class (const char *name)
diff --git a/libobjc/encoding.c b/libobjc/encoding.c
index 79ad32a..299901a 100644
--- a/libobjc/encoding.c
+++ b/libobjc/encoding.c
@@ -1061,7 +1061,7 @@ objc_get_type_qualifiers (const char *type)
These functions are used by objc_sizeof_type and objc_alignof_type
functions to compute the size and alignment of structures. The
previous method of computing the size and alignment of a structure
- was not working on some architectures, particulary on AIX, and in
+ was not working on some architectures, particularly on AIX, and in
the presence of bitfields inside the structure. */
void
objc_layout_structure (const char *type,
diff --git a/libobjc/init.c b/libobjc/init.c
index 07497db..db9b036 100644
--- a/libobjc/init.c
+++ b/libobjc/init.c
@@ -338,7 +338,7 @@ objc_tree_insert_class (Class class)
}
/* If the list was finished but the class hasn't been inserted, we
- don't have an existing class hierarchy that can accomodate it.
+ don't have an existing class hierarchy that can accommodate it.
Create a new one. */
__objc_class_tree_list = list_cons (NULL, __objc_class_tree_list);
__objc_class_tree_list->head = __objc_tree_insert_class (NULL, class);
@@ -839,7 +839,7 @@ __objc_create_classes_tree (struct objc_module *module)
struct objc_symtab *symtab = module->symtab;
int i;
- /* Iterate thru classes defined in this module and insert them in
+ /* Iterate through classes defined in this module and insert them in
the classes tree hierarchy. */
for (i = 0; i < symtab->cls_def_cnt; i++)
{
@@ -878,7 +878,7 @@ __objc_call_load_callback (struct objc_module *module)
struct objc_symtab *symtab = module->symtab;
int i;
- /* Iterate thru classes defined in this module and call the callback
+ /* Iterate through classes defined in this module and call the callback
for each one. */
for (i = 0; i < symtab->cls_def_cnt; i++)
{
diff --git a/libobjc/objc-private/runtime.h b/libobjc/objc-private/runtime.h
index 35e1dfa..d7393bf 100644
--- a/libobjc/objc-private/runtime.h
+++ b/libobjc/objc-private/runtime.h
@@ -32,7 +32,7 @@ The original list was:
#include "objc/hash.h"
#include "objc/objc-list.h"
-but can almost certainly be shrinked down. */
+but can almost certainly be shrunk down. */
#ifndef __objc_private_runtime_INCLUDE_GNU
#define __objc_private_runtime_INCLUDE_GNU
@@ -42,7 +42,7 @@ but can almost certainly be shrinked down. */
#include <stdio.h>
#include <ctype.h>
-#include <stddef.h> /* so noone else will get system versions */
+#include <stddef.h> /* so no one else will get system versions */
#include <assert.h>
extern BOOL __objc_add_class_to_hash (Class); /* (objc-class.c) */
diff --git a/libobjc/objc-sync.c b/libobjc/objc-sync.c
index ec1a159..b9184e9 100644
--- a/libobjc/objc-sync.c
+++ b/libobjc/objc-sync.c
@@ -390,7 +390,7 @@ objc_sync_exit (id object)
node->usage_count--;
/* Normally, we do not reset object to nil here. We'll
leave the lock associated with that object, at zero
- usage count. This makes it slighly more efficient to
+ usage count. This makes it slightly more efficient to
provide a lock for that object if (as likely)
requested again. If the object is deallocated, we
don't care. It will never match a new lock that is
diff --git a/libobjc/objc/runtime.h b/libobjc/objc/runtime.h
index dd24a2e..82a317a 100644
--- a/libobjc/objc/runtime.h
+++ b/libobjc/objc/runtime.h
@@ -793,7 +793,7 @@ objc_EXPORT Protocol *objc_getProtocol (const char *name);
objc_EXPORT Protocol **objc_copyProtocolList (unsigned int *numberOfReturnedProtocols);
/* Add a protocol to a class, and return YES if it was done
- succesfully, and NO if not. At the moment, NO should only happen
+ successfully, and NO if not. At the moment, NO should only happen
if class_ or protocol are nil, if the protocol is not a Protocol
object or if the class already conforms to the protocol. */
objc_EXPORT BOOL class_addProtocol (Class class_, Protocol *protocol);
@@ -1114,7 +1114,7 @@ objc_EXPORT unsigned objc_get_type_qualifiers (const char *type);
These functions are used by objc_sizeof_type and objc_alignof_type
functions to compute the size and alignment of structures. The
previous method of computing the size and alignment of a structure
- was not working on some architectures, particulary on AIX, and in
+ was not working on some architectures, particularly on AIX, and in
the presence of bitfields inside the structure. */
struct objc_struct_layout
{