summaryrefslogtreecommitdiff
path: root/src/user/include/knob/block.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/include/knob/block.h')
-rw-r--r--src/user/include/knob/block.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/user/include/knob/block.h b/src/user/include/knob/block.h
index 2aa2b36..4625577 100644
--- a/src/user/include/knob/block.h
+++ b/src/user/include/knob/block.h
@@ -1,7 +1,10 @@
#ifndef KNOB_BLOCK_H
#define KNOB_BLOCK_H
+#include <stdbool.h>
+#include <stdint.h>
+
void blockcpy(void *to, const void *from, uint32_t size);
-bool blockequ(void *a, void *b, uint32_t size) __attribute__ ((__pure__));
+bool blockequ(const void *a, const void *b, uint32_t size) __attribute__ ((__pure__));
#endif \ No newline at end of file