summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/bitmap.c5
-rw-r--r--lib/util/bitmap.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/util/bitmap.c b/lib/util/bitmap.c
index 7defd77840..1ae2aaaf71 100644
--- a/lib/util/bitmap.c
+++ b/lib/util/bitmap.c
@@ -20,6 +20,11 @@
#include "includes.h"
#include "lib/util/bitmap.h"
+struct bitmap {
+ uint32_t *b;
+ unsigned int n;
+};
+
/* these functions provide a simple way to allocate integers from a
pool without repetition */
diff --git a/lib/util/bitmap.h b/lib/util/bitmap.h
index cf7aa1b0bd..6d75929fb5 100644
--- a/lib/util/bitmap.h
+++ b/lib/util/bitmap.h
@@ -19,10 +19,7 @@
/* The following definitions come from lib/bitmap.c */
-struct bitmap {
- uint32_t *b;
- unsigned int n;
-};
+struct bitmap;
struct bitmap *bitmap_talloc(TALLOC_CTX *mem_ctx, int n);
int bitmap_copy(struct bitmap * const dst, const struct bitmap * const src);