summaryrefslogtreecommitdiff
path: root/include/ouroboros/bitmap.h
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-22 11:33:20 +0000
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-22 11:33:20 +0000
commit727efbe0c5e61862a870c71a2857b28eece3d369 (patch)
tree881da180b8d801c38ba0fbad2fc9f387a70ec016 /include/ouroboros/bitmap.h
parent482c44232d4deda3f89a7d85fbad99c1c64e80ec (diff)
parent3cafbf3cfe5c58a6988dbfc4c29148ebb804f5c2 (diff)
downloadouroboros-727efbe0c5e61862a870c71a2857b28eece3d369.tar.gz
ouroboros-727efbe0c5e61862a870c71a2857b28eece3d369.zip
Merged in dstaesse/ouroboros/be-extra (pull request #268)
build: Comply with -Wextra compiler flag
Diffstat (limited to 'include/ouroboros/bitmap.h')
-rw-r--r--include/ouroboros/bitmap.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/ouroboros/bitmap.h b/include/ouroboros/bitmap.h
index c109f3e8..a8d03759 100644
--- a/include/ouroboros/bitmap.h
+++ b/include/ouroboros/bitmap.h
@@ -30,12 +30,17 @@
struct bmp;
-struct bmp * bmp_create(size_t bits, ssize_t offset);
+struct bmp * bmp_create(size_t bits,
+ ssize_t offset);
+
int bmp_destroy(struct bmp * b);
ssize_t bmp_allocate(struct bmp * instance);
+
int bmp_release(struct bmp * instance,
ssize_t id);
-bool bmp_is_id_valid(struct bmp * b, ssize_t id);
+
+bool bmp_is_id_valid(struct bmp * b,
+ ssize_t id);
#endif