diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libc/include/spinlock.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libc/include/spinlock.h b/src/lib/libc/include/spinlock.h index e4871f9aed..31e7744f0a 100644 --- a/src/lib/libc/include/spinlock.h +++ b/src/lib/libc/include/spinlock.h | |||
| @@ -29,8 +29,8 @@ | |||
| 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | * SUCH DAMAGE. | 30 | * SUCH DAMAGE. |
| 31 | * | 31 | * |
| 32 | * $Id: spinlock.h,v 1.1 1998/11/20 11:18:41 d Exp $ | 32 | * $Id: spinlock.h,v 1.2 1998/12/18 05:59:17 d Exp $ |
| 33 | * $OpenBSD: spinlock.h,v 1.1 1998/11/20 11:18:41 d Exp $ | 33 | * $OpenBSD: spinlock.h,v 1.2 1998/12/18 05:59:17 d Exp $ |
| 34 | * | 34 | * |
| 35 | * Lock definitions used in both libc and libpthread. | 35 | * Lock definitions used in both libc and libpthread. |
| 36 | * | 36 | * |
| @@ -65,6 +65,7 @@ typedef struct { | |||
| 65 | */ | 65 | */ |
| 66 | __BEGIN_DECLS | 66 | __BEGIN_DECLS |
| 67 | register_t _atomic_lock __P((volatile register_t *)); | 67 | register_t _atomic_lock __P((volatile register_t *)); |
| 68 | int _atomic_is_locked __P((volatile register_t *)); | ||
| 68 | register_t _thread_slow_atomic_lock __P((volatile register_t *)); | 69 | register_t _thread_slow_atomic_lock __P((volatile register_t *)); |
| 69 | void _spinlock __P((spinlock_t *)); | 70 | void _spinlock __P((spinlock_t *)); |
| 70 | void _spinlock_debug __P((spinlock_t *, const char *, int)); | 71 | void _spinlock_debug __P((spinlock_t *, const char *, int)); |
