aboutsummaryrefslogtreecommitdiff
path: root/src/platform/posix/posix_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/posix/posix_impl.h')
-rw-r--r--src/platform/posix/posix_impl.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/platform/posix/posix_impl.h b/src/platform/posix/posix_impl.h
index b6435353..2229f17c 100644
--- a/src/platform/posix/posix_impl.h
+++ b/src/platform/posix/posix_impl.h
@@ -65,15 +65,6 @@ struct nni_plat_mtx {
PTHREAD_MUTEX_INITIALIZER \
}
-struct nni_rwlock {
- pthread_rwlock_t rwl;
-};
-
-#define NNI_RWLOCK_INITIALIZER \
- { \
- PTHREAD_RWLOCK_INITIALIZER \
- }
-
// No static form of CV initialization because of the need to use
// attributes to set the clock type.
struct nni_plat_cv {