Commit 9f9f3ffa authored by Yoni Fogel's avatar Yoni Fogel

Addresses #1557 Made local functions static to remove icl warnigns

git-svn-id: file:///svn/toku/tokudb@10262 c7de825b-a66e-492c-adef-691d508d4ae1
parent 443c2202
......@@ -63,13 +63,15 @@ verify(BLOCK_TABLE bt, BLOCKNUM b) {
assert((u_int64_t)b.b < bt->translated_blocknum_limit);
}
void blocktable_lock_init(BLOCK_TABLE bt) {
static void
blocktable_lock_init(BLOCK_TABLE bt) {
memset(&bt->mutex, 0, sizeof(bt->mutex));
int r = toku_pthread_mutex_init(&bt->mutex, NULL); assert(r == 0);
bt->is_locked = 0;
}
void blocktable_lock_destroy(BLOCK_TABLE bt) {
static void
blocktable_lock_destroy(BLOCK_TABLE bt) {
int r = toku_pthread_mutex_destroy(&bt->mutex); assert(r == 0);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment