From 707e0f930d7cd625f0e5b375e7f59f9f9eee0730 Mon Sep 17 00:00:00 2001 From: Linus Dierheimer Date: Mon, 25 Jul 2022 19:54:33 +0200 Subject: [PATCH] Refactor: don't include FFvaluestore global --- src/fastfetch.c | 1 + src/fastfetch.h | 1 - tests/strbuf.c | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fastfetch.c b/src/fastfetch.c index 170a0107b..1ab4d03c1 100644 --- a/src/fastfetch.c +++ b/src/fastfetch.c @@ -1,4 +1,5 @@ #include "fastfetch.h" +#include "util/FFvaluestore.h" #include "common/printing.h" #include "common/parsing.h" diff --git a/src/fastfetch.h b/src/fastfetch.h index fcf3c98d5..6970076a9 100644 --- a/src/fastfetch.h +++ b/src/fastfetch.h @@ -14,7 +14,6 @@ #include "util/FFstrbuf.h" #include "util/FFlist.h" -#include "util/FFvaluestore.h" static inline void ffUnused(int dummy, ...) { (void) dummy; } #define FF_UNUSED(...) ffUnused(0, __VA_ARGS__); diff --git a/tests/strbuf.c b/tests/strbuf.c index 6d0eae8bc..cae266501 100644 --- a/tests/strbuf.c +++ b/tests/strbuf.c @@ -2,6 +2,7 @@ #include #include +#include static void testFailed(const FFstrbuf* strbuf, const char* message, ...) {