From 752f44852b0c69308d7c60395e61e5f2bd8d7a0c Mon Sep 17 00:00:00 2001 From: Curle Date: Fri, 18 Jun 2021 22:31:51 +0100 Subject: [PATCH] Remove conflicting static strlen from the process header. Not necessary per se, but it'll help when we switch over to CPP. --- inc/kernel/system/process/process.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/inc/kernel/system/process/process.h b/inc/kernel/system/process/process.h index c6cee2e..6a7a219 100644 --- a/inc/kernel/system/process/process.h +++ b/inc/kernel/system/process/process.h @@ -14,17 +14,11 @@ #define MAX_PROCESSES 128 #define PROCESS_STACK 65535 -static size_t strlen(const char* String) { - size_t Len = 0; - while(String[Len] != '\0') { - Len++; - } - return Len; -}; +static size_t /** * @brief All the data a process needs. - * + * * Contains all the process-specific structs. * Lots of private members, out of necessity */