aboutsummaryrefslogtreecommitdiff
path: root/include/std/buffer.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-03-12 01:27:54 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commitb35b3e1bf70bf764940498247b1db5bb02761160 (patch)
tree07ad41028fd3d162e9e681a03b75df1cfc740606 /include/std/buffer.h
parent79bf40f909cefdc611bfa13f70ae55b52ac41d23 (diff)
Starting on ssa
Diffstat (limited to 'include/std/buffer.h')
-rw-r--r--include/std/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/std/buffer.h b/include/std/buffer.h
index 688f18a..c961b6e 100644
--- a/include/std/buffer.h
+++ b/include/std/buffer.h
@@ -3,6 +3,7 @@
#include "types.h"
#include "misc.h"
+#include "defs.h"
#define BUFFER_OK 0
#define BUFFER_ALLOC_FAIL -1
@@ -13,7 +14,6 @@ typedef struct {
usize capacity;
} Buffer;
-struct ScopedAllocator;
CHECK_RESULT int buffer_init(Buffer *self, struct ScopedAllocator *allocator);
/* @data can be NULL */