aboutsummaryrefslogtreecommitdiff
path: root/lib/arch/x86_64/api.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arch/x86_64/api.h')
-rw-r--r--lib/arch/x86_64/api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arch/x86_64/api.h b/lib/arch/x86_64/api.h
index b2babc9..729bd1a 100644
--- a/lib/arch/x86_64/api.h
+++ b/lib/arch/x86_64/api.h
@@ -2,5 +2,5 @@
#pragma once
-extern "C" void yield(const void* new_stack, void* const* old_stack);
-void* init_stack(void* stack_ptr, void (*entry)(void*), void* ctx);
+extern "C" void yield(const void* new_stack, void** old_stack);
+void* init_stack(void* stack_ptr, void (*entry)(void*), const void* ctx);