about summary refs log tree commit diff
path: root/src/libnsss/nsss_switch_query_mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnsss/nsss_switch_query_mutex.c')
-rw-r--r--src/libnsss/nsss_switch_query_mutex.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libnsss/nsss_switch_query_mutex.c b/src/libnsss/nsss_switch_query_mutex.c
new file mode 100644
index 0000000..549f42b
--- /dev/null
+++ b/src/libnsss/nsss_switch_query_mutex.c
@@ -0,0 +1,7 @@
+/* ISC license. */
+
+#include <pthread.h>
+
+#include "nsss-switch-internal.h"
+
+pthread_mutex_t nsss_switch_query_mutex = PTHREAD_MUTEX_INITIALIZER ;