summaryrefslogtreecommitdiff
path: root/source3/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
commitd71c04f927cbcbaae0708c1533748caac20ee5af (patch)
tree8d5a5aafb37aacaedba4322f1d62593354515e48 /source3/lib
parent57a58f592b67a0ebf482f06315b9c546590126bf (diff)
downloadsamba-d71c04f927cbcbaae0708c1533748caac20ee5af.tar.gz
samba-d71c04f927cbcbaae0708c1533748caac20ee5af.tar.bz2
samba-d71c04f927cbcbaae0708c1533748caac20ee5af.zip
use dummy file descriptors opened on /dev/null to ensure that the smbw
file descriptor allocation order is identical to the kernels. (This used to be commit 60a683465647932f7241ba9f92443d5e5294e20b)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/bitmap.c b/source3/lib/bitmap.c
index 9ccdbb420b..93c821c528 100644
--- a/source3/lib/bitmap.c
+++ b/source3/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))) {