From 1d767442294df64b9746f02cd6fcf320da257b1f Mon Sep 17 00:00:00 2001
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun, 25 Nov 2012 00:05:21 +0100
Subject: Complete switch from cthreads to pthreads

* console/input.c: Switch comment from cthreads to pthreads.
* libnetfs/file-get-fs-options.c: Likewise
* libnetfs/fsys-get-options.c: Likewise
* libnetfs/fsys-set-options.c: Likewise
* libnetfs/shutdown.c: Likewise
* libpager/lock-object.c: Likewise
* nfsd/cache.c: Set back replycachelock as static variable.
* term/hurdio.c: Use pthread_hurd_cond_wait_np instead of pthread_cond_wait.
---
 nfsd/cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'nfsd')

diff --git a/nfsd/cache.c b/nfsd/cache.c
index 060cc738..5b94e71d 100644
--- a/nfsd/cache.c
+++ b/nfsd/cache.c
@@ -465,7 +465,7 @@ create_cached_handle (int fs, struct cache_handle *credc, file_t userport)
 
 
 static struct cached_reply *replyhashtable [REPLYHASH_TABLE_SIZE];
-pthread_spinlock_t replycachelock = PTHREAD_SPINLOCK_INITIALIZER;
+static pthread_spinlock_t replycachelock = PTHREAD_SPINLOCK_INITIALIZER;
 static int nfreereplies;
 static int leastreplylastuse;
 
-- 
cgit v1.2.3