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
This commit is contained in:
Ondřej Bílka 2013-07-21 15:38:21 +00:00 committed by Mike Stump
parent 587ae1e3bd
commit cad10e055f
7 changed files with 19 additions and 10 deletions

View File

@ -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.

View 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)

View 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,

View 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++)
{

View 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) */

View 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

View 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
{