summaryrefslogtreecommitdiff
path: root/src/libostree/bupsplit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libostree/bupsplit.h')
-rw-r--r--src/libostree/bupsplit.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/libostree/bupsplit.h b/src/libostree/bupsplit.h
index d7710d49..1db9e255 100644
--- a/src/libostree/bupsplit.h
+++ b/src/libostree/bupsplit.h
@@ -34,16 +34,17 @@
#include <sys/types.h>
#define BUP_BLOBBITS (13)
-#define BUP_BLOBSIZE (1<<BUP_BLOBBITS)
+#define BUP_BLOBSIZE (1 << BUP_BLOBBITS)
#define BUP_WINDOWBITS (7)
-#define BUP_WINDOWSIZE (1<<(BUP_WINDOWBITS-1))
+#define BUP_WINDOWSIZE (1 << (BUP_WINDOWBITS - 1))
#ifdef __cplusplus
-extern "C" {
+extern "C"
+{
#endif
-uint32_t bupsplit_sum(uint8_t *buf, size_t ofs, size_t len);
-int bupsplit_find_ofs(const unsigned char *buf, int len, int *bits);
+ uint32_t bupsplit_sum (uint8_t *buf, size_t ofs, size_t len);
+ int bupsplit_find_ofs (const unsigned char *buf, int len, int *bits);
#ifdef __cplusplus
}