From 1bb81fd57e4b21d6e255f9d044dc8d6d7dbbc598 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Wed, 31 Jan 2024 23:47:42 +0100 Subject: [PATCH] Typo fix --- core/allocArea.h | 2 +- core/uaccess.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/allocArea.h b/core/allocArea.h index edb2135..e65ab48 100644 --- a/core/allocArea.h +++ b/core/allocArea.h @@ -20,7 +20,7 @@ void areaInit(vaddr_t firstMemUsed, vaddr_t lastUsed, vaddr_t stack_bottom, vadd vaddr_t areaAlloc(unsigned int nbPages, uint32_t flags); /** - * Free a vietual area + * Free a virtual area **/ int areaFree(vaddr_t addr); diff --git a/core/uaccess.h b/core/uaccess.h index bf97293..53b619f 100644 --- a/core/uaccess.h +++ b/core/uaccess.h @@ -1,5 +1,6 @@ #pragma once #include "types.h" +#include "stddef.h" #include "stdarg.h" int memcpyFromUser(vaddr_t to, uaddr_t from, size_t size);