From 535f8e46a030eda99b08e7a4fd03b0e6cdaa6d5e Mon Sep 17 00:00:00 2001 From: Thomas Bushnell <thomas@gnu.org> Date: Thu, 24 Oct 1996 19:29:49 +0000 Subject: Mon Oct 21 22:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * i386/csw.S (CALL_MCOUNT): New macro. (cproc_swtich, cproc_start_wait, cproc_prepare): Use CALL_MCOUNT. * rwlock.h: Change extern inline protection to use new canonical method. * rwlock.c: Rewritten. --- libthreads/rwlock.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libthreads/rwlock.c') diff --git a/libthreads/rwlock.c b/libthreads/rwlock.c index 6fcb08c4..93533a97 100644 --- a/libthreads/rwlock.c +++ b/libthreads/rwlock.c @@ -1,6 +1,2 @@ -/* This file defines the real functions for the inlines in rwlock.h. */ - -#include <cthreads.h> - -#define _RWLOCK_DEFINE_FUNCTIONS /* Define the real functions. */ -#include <rwlock.h> +#define RWLOCK_EI +#include "rwlock.h" -- cgit v1.2.3