summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/create_xid.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-06 14:46:14 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-06 14:46:14 +0000
commit17a1a692cb64c4b56a5c86e35f8abed121bc758b (patch)
tree42f2bc51f647d6e542506d68e311c4dc16f49fd1 /libc/inet/rpc/create_xid.c
parent78c86530e0529862acb1a81a571daa1b13c93f13 (diff)
Rework RPC code once again. By default, only enable the
stuff needed for NFS mounts, rsh, and similar. -Erik
Diffstat (limited to 'libc/inet/rpc/create_xid.c')
-rw-r--r--libc/inet/rpc/create_xid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/rpc/create_xid.c b/libc/inet/rpc/create_xid.c
index c184e816d..50dc882e5 100644
--- a/libc/inet/rpc/create_xid.c
+++ b/libc/inet/rpc/create_xid.c
@@ -27,7 +27,7 @@
/* The RPC code is not threadsafe, but new code should be threadsafe. */
-#ifdef _RPC_THREAD_SAFE_ //__UCLIBC_HAS_THREADS__
+#ifdef __UCLIBC_HAS_THREADS__
#include <pthread.h>
static pthread_mutex_t createxid_lock = PTHREAD_MUTEX_INITIALIZER;
# define LOCK pthread_mutex_lock(&createxid_lock)