summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/libfs/src/nfsclient/src/rpcio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libfs/src/nfsclient/src/rpcio.c b/cpukit/libfs/src/nfsclient/src/rpcio.c
index cf51a8bf3e..d462774558 100644
--- a/cpukit/libfs/src/nfsclient/src/rpcio.c
+++ b/cpukit/libfs/src/nfsclient/src/rpcio.c
@@ -391,8 +391,10 @@ static rtems_id rpciod = 0; /* task id of the RPC daemon */
static rtems_id msgQ = 0; /* message queue where the daemon picks up
* requests
*/
+#ifndef NDEBUG
static rtems_id llock = 0; /* MUTEX protecting the server list */
static rtems_id hlock = 0; /* MUTEX protecting the hash table and the list of servers */
+#endif
static rtems_id fini = 0; /* a synchronization semaphore we use during
* module cleanup / driver unloading
*/