diff options
author | imp <imp@cvs.openbsd.org> | 1999-02-02 01:36:01 +0000 |
---|---|---|
committer | imp <imp@cvs.openbsd.org> | 1999-02-02 01:36:01 +0000 |
commit | 477fe6ffb47f14ba8c071ef63155ae2b9c599664 (patch) | |
tree | 86486e5e3444e07a74effc52b4001ba6e444b0d7 | |
parent | 3c1a6228a5be284a7b71c4203c70d55afcf2d57b (diff) |
arc fixes for libc_r
-rw-r--r-- | lib/libc_r/arch/mips/_atomic_lock.c | 3 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_autoinit.c | 4 | ||||
-rw-r--r-- | lib/libpthread/arch/mips/_atomic_lock.c | 3 | ||||
-rw-r--r-- | lib/libpthread/uthread/uthread_autoinit.c | 4 |
4 files changed, 8 insertions, 6 deletions
diff --git a/lib/libc_r/arch/mips/_atomic_lock.c b/lib/libc_r/arch/mips/_atomic_lock.c index 18092da4566..7c075f95e14 100644 --- a/lib/libc_r/arch/mips/_atomic_lock.c +++ b/lib/libc_r/arch/mips/_atomic_lock.c @@ -1,8 +1,9 @@ -/* $OpenBSD: _atomic_lock.c,v 1.5 1999/01/10 23:00:02 d Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.6 1999/02/02 01:36:00 imp Exp $ */ /* * Atomic lock for mips */ +#include "pthread.h" #include "pthread_private.h" #include "spinlock.h" #include <signal.h> diff --git a/lib/libc_r/uthread/uthread_autoinit.c b/lib/libc_r/uthread/uthread_autoinit.c index 5ac4592e61c..1bfda4b43b9 100644 --- a/lib/libc_r/uthread/uthread_autoinit.c +++ b/lib/libc_r/uthread/uthread_autoinit.c @@ -1,7 +1,7 @@ /* * David Leonard, 1998. Public Domain. <david.leonard@csee.uq.edu.au> * - * $OpenBSD: uthread_autoinit.c,v 1.4 1999/01/10 23:07:59 d Exp $ + * $OpenBSD: uthread_autoinit.c,v 1.5 1999/02/02 01:36:00 imp Exp $ */ #include <stdio.h> @@ -49,7 +49,7 @@ _thread_dot_init() * found in the .dynamic section into the _INIT field. This then gets * automatically run by GNU ELF's ld.so. */ -#ifdef mips +#ifdef pmax extern int _init() __attribute__((constructor,section (".dynamic"))); int _init() diff --git a/lib/libpthread/arch/mips/_atomic_lock.c b/lib/libpthread/arch/mips/_atomic_lock.c index 18092da4566..7c075f95e14 100644 --- a/lib/libpthread/arch/mips/_atomic_lock.c +++ b/lib/libpthread/arch/mips/_atomic_lock.c @@ -1,8 +1,9 @@ -/* $OpenBSD: _atomic_lock.c,v 1.5 1999/01/10 23:00:02 d Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.6 1999/02/02 01:36:00 imp Exp $ */ /* * Atomic lock for mips */ +#include "pthread.h" #include "pthread_private.h" #include "spinlock.h" #include <signal.h> diff --git a/lib/libpthread/uthread/uthread_autoinit.c b/lib/libpthread/uthread/uthread_autoinit.c index 5ac4592e61c..1bfda4b43b9 100644 --- a/lib/libpthread/uthread/uthread_autoinit.c +++ b/lib/libpthread/uthread/uthread_autoinit.c @@ -1,7 +1,7 @@ /* * David Leonard, 1998. Public Domain. <david.leonard@csee.uq.edu.au> * - * $OpenBSD: uthread_autoinit.c,v 1.4 1999/01/10 23:07:59 d Exp $ + * $OpenBSD: uthread_autoinit.c,v 1.5 1999/02/02 01:36:00 imp Exp $ */ #include <stdio.h> @@ -49,7 +49,7 @@ _thread_dot_init() * found in the .dynamic section into the _INIT field. This then gets * automatically run by GNU ELF's ld.so. */ -#ifdef mips +#ifdef pmax extern int _init() __attribute__((constructor,section (".dynamic"))); int _init() |