archive.c, [...]: Include hash.h.
2005-06-07 David Ayers <d.ayers@inode.at> * archive.c, init.c, selector.c: Include hash.h. * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c, init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c: Include Objective-C headers with quotes and objc/ directory prefix. From-SVN: r100723
This commit is contained in:
parent
a4233c29b7
commit
348a344520
28 changed files with 66 additions and 55 deletions
|
@ -1,3 +1,14 @@
|
|||
2005-06-07 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* archive.c, init.c, selector.c: Include hash.h.
|
||||
* archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
|
||||
init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
|
||||
sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
|
||||
thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
|
||||
thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
|
||||
Include Objective-C headers with quotes and objc/ directory
|
||||
prefix.
|
||||
|
||||
2005-05-19 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* exception.c: Revert last change.
|
||||
|
|
|
@ -25,9 +25,9 @@ Boston, MA 02111-1307, USA. */
|
|||
covered by the GNU General Public License. */
|
||||
|
||||
#include "tconfig.h"
|
||||
#include "runtime.h"
|
||||
#include "typedstream.h"
|
||||
#include "encoding.h"
|
||||
#include "objc/runtime.h"
|
||||
#include "objc/typedstream.h"
|
||||
#include "objc/encoding.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
extern int fflush (FILE *);
|
||||
|
|
|
@ -88,12 +88,12 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||
classes from the table - and the difficult thing with lock-free data
|
||||
structures is freeing data when is removed from the structures. */
|
||||
|
||||
#include "runtime.h" /* the kitchen sink */
|
||||
#include "sarray.h"
|
||||
#include "objc/runtime.h" /* the kitchen sink */
|
||||
#include "objc/sarray.h"
|
||||
|
||||
#include <objc/objc.h>
|
||||
#include <objc/objc-api.h>
|
||||
#include <objc/thr.h>
|
||||
#include "objc/objc.h"
|
||||
#include "objc/objc-api.h"
|
||||
#include "objc/thr.h"
|
||||
|
||||
/* We use a table which maps a class name to the corresponding class
|
||||
* pointer. The first part of this file defines this table, and
|
||||
|
|
|
@ -32,8 +32,8 @@ Boston, MA 02111-1307, USA. */
|
|||
#include "tconfig.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "objc-api.h"
|
||||
#include "encoding.h"
|
||||
#include "objc/objc-api.h"
|
||||
#include "objc/encoding.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#undef MAX
|
||||
|
|
|
@ -26,8 +26,8 @@ Boston, MA 02111-1307, USA. */
|
|||
the executable file might be covered by the GNU General Public License. */
|
||||
|
||||
#include "tconfig.h"
|
||||
#include "objc.h"
|
||||
#include "encoding.h"
|
||||
#include "objc/objc.h"
|
||||
#include "objc/encoding.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -26,9 +26,9 @@ Boston, MA 02111-1307, USA. */
|
|||
|
||||
#include "assert.h"
|
||||
|
||||
#include "hash.h"
|
||||
#include "objc/hash.h"
|
||||
|
||||
#include "runtime.h" /* for DEBUG_PRINTF */
|
||||
#include "objc/runtime.h" /* for DEBUG_PRINTF */
|
||||
|
||||
/* These two macros determine when a hash table is full and
|
||||
by how much it should be expanded respectively.
|
||||
|
|
|
@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */
|
|||
the executable file might be covered by the GNU General Public License. */
|
||||
|
||||
#define OBJC_IGNORE_DEPRECATED_API 1
|
||||
#include "hash.h"
|
||||
#include "objc/hash.h"
|
||||
|
||||
cache_ptr
|
||||
hash_new (unsigned int size,
|
||||
|
|
|
@ -24,7 +24,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||
however invalidate any other reasons why the executable file might be
|
||||
covered by the GNU General Public License. */
|
||||
|
||||
#include "runtime.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
/* The version number of this runtime. This must match the number
|
||||
defined in gcc (objc-act.c). */
|
||||
|
|
|
@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */
|
|||
|
||||
#define __USE_FIXED_PROTOTYPES__
|
||||
#include <stdlib.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
/*
|
||||
** Error handler function
|
||||
|
|
|
@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */
|
|||
/* This is the nil method, the function that is called when the receiver
|
||||
of a method is nil */
|
||||
|
||||
#include "runtime.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
/* When the receiver of a method invocation is nil, the runtime
|
||||
returns nil_method() as the method implementation. This function
|
||||
|
|
|
@ -25,8 +25,8 @@ Boston, MA 02111-1307, USA. */
|
|||
covered by the GNU General Public License. */
|
||||
|
||||
#include "tconfig.h" /* include defs of bzero for target */
|
||||
#include "objc.h"
|
||||
#include "runtime.h" /* the kitchen sink */
|
||||
#include "objc/objc.h"
|
||||
#include "objc/runtime.h" /* the kitchen sink */
|
||||
|
||||
#if OBJC_WITH_GC
|
||||
# include <gc.h>
|
||||
|
|
|
@ -24,8 +24,8 @@ Boston, MA 02111-1307, USA. */
|
|||
This exception does not however invalidate any other reasons why
|
||||
the executable file might be covered by the GNU General Public License. */
|
||||
|
||||
#include "sarray.h"
|
||||
#include "runtime.h"
|
||||
#include "objc/sarray.h"
|
||||
#include "objc/runtime.h"
|
||||
#include <stdio.h>
|
||||
#include "assert.h"
|
||||
|
||||
|
|
|
@ -23,9 +23,9 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||
however invalidate any other reasons why the executable file might be
|
||||
covered by the GNU General Public License. */
|
||||
|
||||
#include "runtime.h"
|
||||
#include "sarray.h"
|
||||
#include "encoding.h"
|
||||
#include "objc/runtime.h"
|
||||
#include "objc/sarray.h"
|
||||
#include "objc/encoding.h"
|
||||
|
||||
/* Initial selector hash table size. Value doesn't matter much */
|
||||
#define SELECTOR_HASH_SIZE 128
|
||||
|
|
|
@ -32,9 +32,9 @@ Boston, MA 02111-1307, USA. */
|
|||
#include "tconfig.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "runtime.h"
|
||||
#include "sarray.h"
|
||||
#include "encoding.h"
|
||||
#include "objc/runtime.h"
|
||||
#include "objc/sarray.h"
|
||||
#include "objc/encoding.h"
|
||||
#include "runtime-info.h"
|
||||
|
||||
/* This is how we hack STRUCT_VALUE to be 1 or 0. */
|
||||
|
|
|
@ -25,8 +25,8 @@ Boston, MA 02111-1307, USA. */
|
|||
covered by the GNU General Public License. */
|
||||
|
||||
#include <pthread.h>
|
||||
#include <thr.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/thr.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
/* Key structure for maintaining thread specific storage */
|
||||
static pthread_key_t _objc_thread_storage;
|
||||
|
|
|
@ -25,8 +25,8 @@ Boston, MA 02111-1307, USA. */
|
|||
covered by the GNU General Public License. */
|
||||
|
||||
#include <pthread.h>
|
||||
#include <objc/thr.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/thr.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
/* Key structure for maintaining thread specific storage */
|
||||
static pthread_key_t _objc_thread_storage;
|
||||
|
|
|
@ -29,8 +29,8 @@ Boston, MA 02111-1307, USA. */
|
|||
#include <sys/sysmp.h>
|
||||
#include <sys/prctl.h>
|
||||
#include <ulocks.h>
|
||||
#include <objc/thr.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/thr.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
/* Key structure for maintaining thread specific storage */
|
||||
static void * __objc_shared_arena_handle = NULL;
|
||||
|
|
|
@ -28,8 +28,8 @@ Boston, MA 02111-1307, USA. */
|
|||
|
||||
#include <mach/mach.h>
|
||||
#include <mach/cthreads.h>
|
||||
#include <objc/thr.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/thr.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
/*
|
||||
Obtain the maximum thread priority that can set for t. Under the
|
||||
|
|
|
@ -29,8 +29,8 @@ Boston, MA 02111-1307, USA. */
|
|||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "defaults.h"
|
||||
#include <objc/thr.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/thr.h"
|
||||
#include "objc/runtime.h"
|
||||
#include <gthr.h>
|
||||
|
||||
/* Backend initialization functions */
|
||||
|
|
|
@ -24,8 +24,8 @@ Boston, MA 02111-1307, USA. */
|
|||
however invalidate any other reasons why the executable file might be
|
||||
covered by the GNU General Public License. */
|
||||
|
||||
#include <objc/thr.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/thr.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
#define INCL_DOSSEMAPHORES
|
||||
#define INCL_DOSPROCESS
|
||||
|
|
|
@ -26,8 +26,8 @@ Boston, MA 02111-1307, USA. */
|
|||
however invalidate any other reasons why the executable file might be
|
||||
covered by the GNU General Public License. */
|
||||
|
||||
#include <objc/thr.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/thr.h"
|
||||
#include "objc/runtime.h"
|
||||
#include <pthread.h>
|
||||
|
||||
/* Key structure for maintaining thread specific storage */
|
||||
|
|
|
@ -26,8 +26,8 @@ Boston, MA 02111-1307, USA. */
|
|||
covered by the GNU General Public License. */
|
||||
|
||||
#include <pcthread.h>
|
||||
#include <objc/thr.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/thr.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
/* Key structure for maintaining thread specific storage */
|
||||
static pthread_key_t _objc_thread_storage;
|
||||
|
|
|
@ -26,8 +26,8 @@ Boston, MA 02111-1307, USA. */
|
|||
however invalidate any other reasons why the executable file might be
|
||||
covered by the GNU General Public License. */
|
||||
|
||||
#include <objc/thr.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/thr.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
/* Thread local storage for a single thread */
|
||||
static void *thread_local_storage = NULL;
|
||||
|
|
|
@ -24,8 +24,8 @@ Boston, MA 02111-1307, USA. */
|
|||
however invalidate any other reasons why the executable file might be
|
||||
covered by the GNU General Public License. */
|
||||
|
||||
#include <objc/thr.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/thr.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
/* Thread local storage for a single thread */
|
||||
static void *thread_local_storage = NULL;
|
||||
|
|
|
@ -25,8 +25,8 @@ Boston, MA 02111-1307, USA. */
|
|||
however invalidate any other reasons why the executable file might be
|
||||
covered by the GNU General Public License. */
|
||||
|
||||
#include <objc/thr.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/thr.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
#include <thread.h>
|
||||
#include <synch.h>
|
||||
|
|
|
@ -24,8 +24,8 @@ Boston, MA 02111-1307, USA. */
|
|||
however invalidate any other reasons why the executable file might be
|
||||
covered by the GNU General Public License. */
|
||||
|
||||
#include <objc/thr.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/thr.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
/* Thread local storage for a single thread */
|
||||
static void *thread_local_storage = NULL;
|
||||
|
|
|
@ -24,8 +24,8 @@ Boston, MA 02111-1307, USA. */
|
|||
however invalidate any other reasons why the executable file might be
|
||||
covered by the GNU General Public License. */
|
||||
|
||||
#include <objc/thr.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/thr.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
#ifndef __OBJC__
|
||||
#define __OBJC__
|
||||
|
|
|
@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */
|
|||
covered by the GNU General Public License. */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "runtime.h"
|
||||
#include "objc/runtime.h"
|
||||
|
||||
/* Global exit status. */
|
||||
int __objc_thread_exit_status = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue