diff options
Diffstat (limited to 'contrib/libobjc/objc/thr.h')
-rw-r--r-- | contrib/libobjc/objc/thr.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/contrib/libobjc/objc/thr.h b/contrib/libobjc/objc/thr.h index 1178f2e..c139926 100644 --- a/contrib/libobjc/objc/thr.h +++ b/contrib/libobjc/objc/thr.h @@ -1,5 +1,5 @@ /* Thread and mutex controls for Objective C. - Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2002, 2004 Free Software Foundation, Inc. Contributed by Galen C. Hunt (gchunt@cs.rochester.edu) This file is part of GCC. @@ -25,8 +25,8 @@ details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to the Free Software -Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +Foundation, 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. */ /* As a special exception, if you link this library with files compiled with GCC to produce an executable, this does not cause @@ -38,7 +38,11 @@ Boston, MA 02111-1307, USA. */ #ifndef __thread_INCLUDE_GNU #define __thread_INCLUDE_GNU -#include "objc/objc.h" +#include "objc.h" + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ /************************************************************************* * Universal static variables: @@ -142,4 +146,8 @@ objc_thread_t __objc_thread_id (void); int __objc_thread_set_data (void *value); void * __objc_thread_get_data (void); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* not __thread_INCLUDE_GNU */ |