summaryrefslogtreecommitdiff
path: root/magic_buddy/magic_buddy.h
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthew@masot.net>2024-05-16 15:46:02 -0700
committerMatthew Sotoudeh <matthew@masot.net>2024-05-16 15:46:02 -0700
commitcb605a619b96b9261994f28f4af0f3c7e77f0892 (patch)
treefcc21d7958ad84ca289e90c99b50c0f990d5f365 /magic_buddy/magic_buddy.h
parent10457ca754b6458e5ebcf43aef63d2fd60b50843 (diff)
test harness includes move_buddy
Diffstat (limited to 'magic_buddy/magic_buddy.h')
-rw-r--r--magic_buddy/magic_buddy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/magic_buddy/magic_buddy.h b/magic_buddy/magic_buddy.h
index c8778d6..a25ceb7 100644
--- a/magic_buddy/magic_buddy.h
+++ b/magic_buddy/magic_buddy.h
@@ -30,7 +30,7 @@ void debug_buddy(struct buddy *state);
// Simulates @new = allocate, memcpy(@new, @old), free(@old), with some
// optimizations for cases where the reallocation can be done in place.
-void *reallocate(void *old, size_t old_size, size_t new_size,
+void *reallocate(void *old, size_t new_size, size_t old_size,
struct buddy *state);
// Attempts to reserve a range [@start,@start+@size).
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback