From edffbf065680fb805582024169c2dc8abc5a9d59 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Sat, 31 Aug 2024 14:43:53 +0900 Subject: [PATCH] Cleanup usage of third-party headers --- Makefile | 4 +--- src/http.c | 2 +- src/http.h | 2 +- src/test.c | 4 ++-- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 76fb0e1..665fca3 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,5 @@ COMMON_FLAGS = -Wall -Wextra -Wpedantic \ - -Ithird_party/SimpleArchiver/src \ - -Ithird_party/SimpleArchiver/src/data_structures \ - -Ithird_party/SimpleArchiver/src/algorithms + -Ithird_party DEBUG_FLAGS = -Og -g RELEASE_FLAGS = -O3 -DNDEBUG diff --git a/src/http.c b/src/http.c index c47d96d..026542a 100644 --- a/src/http.c +++ b/src/http.c @@ -21,7 +21,7 @@ #include // Local includes -#include +#include #include "constants.h" #define SINGLE_QUOTE_DECREMENT() \ diff --git a/src/http.h b/src/http.h index 6a8e691..37309a1 100644 --- a/src/http.h +++ b/src/http.h @@ -17,7 +17,7 @@ #ifndef SEODISPARATE_COM_C_SIMPLE_HTTP_HTTP_H_ #define SEODISPARATE_COM_C_SIMPLE_HTTP_HTTP_H_ -#include +#include typedef struct HTTPTemplates { /// Each entry in this data structure is a hash map where its value for the diff --git a/src/test.c b/src/test.c index f8795f8..ed7f8c5 100644 --- a/src/test.c +++ b/src/test.c @@ -6,8 +6,8 @@ #include "http.h" // Third party includes. -#include -#include +#include +#include static int checks_checked = 0; static int checks_passed = 0;