From 2bc312feaa39b0fe3eaf3f70ce1f44826428443d Mon Sep 17 00:00:00 2001 From: Tilen Majerle Date: Mon, 20 Nov 2023 21:32:57 +0100 Subject: [PATCH] Update tidy. --- .vscode/settings.json | 6 +++--- dev/main.cpp | 4 ++-- lwmem/src/lwmem/lwmem.c | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 91ebf1d..3608dd5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,8 +10,8 @@ "lwmem_opt.h": "c", "array": "c", "string_view": "c", - "initializer_list": "c" + "initializer_list": "c", + "limits.h": "c" }, - "esbonio.sphinx.confDir": "", - "C_Cpp.codeAnalysis.clangTidy.useBuildPath": true + "esbonio.sphinx.confDir": "" } \ No newline at end of file diff --git a/dev/main.cpp b/dev/main.cpp index 62a4871..bddb83c 100644 --- a/dev/main.cpp +++ b/dev/main.cpp @@ -1,8 +1,8 @@ -#include "lwmem/lwmem.h" -#include "lwmem/lwmem.hpp" #include #include #include +#include "lwmem/lwmem.h" +#include "lwmem/lwmem.hpp" extern "C" void lwmem_test_run(void); extern "C" void lwmem_test_memory_structure(void); diff --git a/lwmem/src/lwmem/lwmem.c b/lwmem/src/lwmem/lwmem.c index f5a2386..3474a7d 100644 --- a/lwmem/src/lwmem/lwmem.c +++ b/lwmem/src/lwmem/lwmem.c @@ -33,6 +33,7 @@ */ #include "lwmem/lwmem.h" #include +#include #include #if LWMEM_CFG_OS