summaryrefslogtreecommitdiffstats
path: root/source/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-04 04:48:17 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-04 04:48:17 +0000
commit60a683465647932f7241ba9f92443d5e5294e20b (patch)
treee2164f85c3dc5232d9d727607064875759dd95fd /source/lib
parent04e92e692e49234df6fbbfd07a33b315ed62f0de (diff)
downloadsamba-60a683465647932f7241ba9f92443d5e5294e20b.tar.gz
samba-60a683465647932f7241ba9f92443d5e5294e20b.tar.xz
samba-60a683465647932f7241ba9f92443d5e5294e20b.zip
use dummy file descriptors opened on /dev/null to ensure that the smbw
file descriptor allocation order is identical to the kernels.
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/bitmap.c b/source/lib/bitmap.c
index 9ccdbb420b1..93c821c5285 100644
--- a/source/lib/bitmap.c
+++ b/source/lib/bitmap.c
@@ -81,7 +81,7 @@ BOOL bitmap_clear(struct bitmap *bm, unsigned i)
/****************************************************************************
query a bit in a bitmap
****************************************************************************/
-static BOOL bitmap_query(struct bitmap *bm, unsigned i)
+BOOL bitmap_query(struct bitmap *bm, unsigned i)
{
if (i >= bm->n) return False;
if (bm->b[i/32] & (1<<(i%32))) {