diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-06-01 08:12:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:23 -0500 |
commit | fa2e9ec311b99dee2fbff5ee5fa2c743298dacad (patch) | |
tree | 35dc6a43cb10399e427b2fcd76d24cc23c77151d /source4/lib/tdb/include/spinlock.h | |
parent | b88fc7a3911e0ff8b6d7d324028e351281e94c46 (diff) | |
download | samba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.tar.gz samba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.tar.bz2 samba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.zip |
r960: convert 'unsigned int' to uint_t in the most places
metze
(This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
Diffstat (limited to 'source4/lib/tdb/include/spinlock.h')
-rw-r--r-- | source4/lib/tdb/include/spinlock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/tdb/include/spinlock.h b/source4/lib/tdb/include/spinlock.h index 967fe37457..1255d455de 100644 --- a/source4/lib/tdb/include/spinlock.h +++ b/source4/lib/tdb/include/spinlock.h @@ -36,7 +36,7 @@ typedef struct { int tdb_spinlock(TDB_CONTEXT *tdb, int list, int rw_type); int tdb_spinunlock(TDB_CONTEXT *tdb, int list, int rw_type); -int tdb_create_rwlocks(int fd, unsigned int hash_size); +int tdb_create_rwlocks(int fd, uint_t hash_size); int tdb_clear_spinlocks(TDB_CONTEXT *tdb); #define TDB_SPINLOCK_SIZE(hash_size) (((hash_size) + 1) * sizeof(tdb_rwlock_t)) @@ -49,7 +49,7 @@ int tdb_clear_spinlocks(TDB_CONTEXT *tdb); #else int tdb_spinlock(TDB_CONTEXT *tdb, int list, int rw_type); int tdb_spinunlock(TDB_CONTEXT *tdb, int list, int rw_type); -int tdb_create_rwlocks(int fd, unsigned int hash_size); +int tdb_create_rwlocks(int fd, uint_t hash_size); #endif int tdb_clear_spinlocks(TDB_CONTEXT *tdb); #define TDB_SPINLOCK_SIZE(hash_size) 0 |