From 3b4a6097dee760d22eecd97ebe041c69da6b056a Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 8 Oct 2020 20:14:42 +0200 Subject: remove incorrect const --- lib/arch/arm64/api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/arch/arm64/api.h') diff --git a/lib/arch/arm64/api.h b/lib/arch/arm64/api.h index b2babc9..729bd1a 100644 --- a/lib/arch/arm64/api.h +++ b/lib/arch/arm64/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); -- cgit v1.2.3