class.c: Fix typos.
authorOndřej Bílka <neleai@seznam.cz>
Sun, 21 Jul 2013 15:38:21 +0000 (15:38 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Sun, 21 Jul 2013 15:38:21 +0000 (15:38 +0000)
2013-07-21   OndÅ\99ej 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

libobjc/ChangeLog
libobjc/class.c
libobjc/encoding.c
libobjc/init.c
libobjc/objc-private/runtime.h
libobjc/objc-sync.c
libobjc/objc/runtime.h

index d26fd1d1261daa0513831c2a86b34826074b84f5..c2e1a2887b5b863434821424dac15e7e61df7562 100644 (file)
@@ -1,3 +1,12 @@
+2013-07-21   OndÅ\99ej 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.
index 3c912eea912fd96f25c6ef35cfc3e5ec2d02e61b..c90603edd7948d591849498896b17b61e646f0e9 100644 (file)
@@ -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)
index 79ad32ae1af595b17514edd6d688ab8f5370559a..299901a0b85b028aa79b2c5ff70f537eb5911fa0 100644 (file)
@@ -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,
index 07497db689f63384113689aed6c75f084ef10518..db9b03670cb8b7f4991f62e49de2b939019a17a8 100644 (file)
@@ -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++)
        {
index 35e1dfa00904a893c14203a5a593c1fc0f36faf0..d7393bf8d0b47c46bfa66ed16329e58f1a8f1dce 100644 (file)
@@ -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) */
index ec1a1594b2d45062f336e215821af2e859cb4843..b9184e9adc80f832bdcfb614e4ba601571f75f66 100644 (file)
@@ -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
index dd24a2e2f8bf4fd809fa98965fa90ca250f789d1..82a317afea63b2163868f2cc23ca6147cc3a4420 100644 (file)
@@ -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
 {