From 946bfb49f556ce91b8a925711e647daffe44f199 Mon Sep 17 00:00:00 2001 From: "iliya.saroukha" <iliya.saroukhanian@etu.hesge.ch> Date: Fri, 31 Jan 2025 15:01:30 +0100 Subject: [PATCH] fix: init prototype --- proto/vcpu/vcpu.c | 1 + proto/vcpu/vcpu.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/proto/vcpu/vcpu.c b/proto/vcpu/vcpu.c index 140f355..8f367a4 100644 --- a/proto/vcpu/vcpu.c +++ b/proto/vcpu/vcpu.c @@ -1,6 +1,7 @@ #include "vcpu.h" #include "../debug/debug.h" #include "../region/vxmon.h" +#include "linux/string.h" #include <linux/errno.h> int init_vcpu(struct vcpu_t *vcpu, struct vmxon_t *vmxon) { diff --git a/proto/vcpu/vcpu.h b/proto/vcpu/vcpu.h index 0c17cc0..a61e34d 100644 --- a/proto/vcpu/vcpu.h +++ b/proto/vcpu/vcpu.h @@ -9,4 +9,4 @@ struct vcpu_t { * point*/ }; -int init_vcpu(struct vcpu_t *vcpu); +int init_vcpu(struct vcpu_t *vcpu, struct vmxon_t *vmxon); -- GitLab