summaryrefslogtreecommitdiff
path: root/source3/tdb/spinlock.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-08-29 23:49:26 +0000
committerTim Potter <tpot@samba.org>2001-08-29 23:49:26 +0000
commit74bee75f10b6578b88d543fd1f62a198edb5c2f2 (patch)
tree4c0aba839a628a373b868496948bdcbb6e0c4b0d /source3/tdb/spinlock.h
parentb3e43e047b20df684927afef5870ea5aa0a1ecd8 (diff)
downloadsamba-74bee75f10b6578b88d543fd1f62a198edb5c2f2.tar.gz
samba-74bee75f10b6578b88d543fd1f62a198edb5c2f2.tar.bz2
samba-74bee75f10b6578b88d543fd1f62a198edb5c2f2.zip
Renamed rwlock_t type to tdb_rwlock_t to avoid conflict with Solaris 8
header files. (This used to be commit 888c852f01cec89b380fdf2564444b86d396c442)
Diffstat (limited to 'source3/tdb/spinlock.h')
-rw-r--r--source3/tdb/spinlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/spinlock.h b/source3/tdb/spinlock.h
index a0dd9cbca5..d6a2ac6eb8 100644
--- a/source3/tdb/spinlock.h
+++ b/source3/tdb/spinlock.h
@@ -32,7 +32,7 @@ typedef volatile unsigned long spinlock_t;
typedef struct {
spinlock_t lock;
volatile int count;
-} rwlock_t;
+} tdb_rwlock_t;
int tdb_spinlock(TDB_CONTEXT *tdb, int list, int rw_type);
int tdb_spinunlock(TDB_CONTEXT *tdb, int list, int rw_type);