]> git.seodisparate.com - c_simple_http/commitdiff
Cleanup usage of third-party headers
authorStephen Seo <seo.disparate@gmail.com>
Sat, 31 Aug 2024 05:43:53 +0000 (14:43 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Sat, 31 Aug 2024 05:43:53 +0000 (14:43 +0900)
Makefile
src/http.c
src/http.h
src/test.c

index 76fb0e10906c12ece6b8f3f07076be2d67eab893..665fca3e783d12d7be6abca0295bdb95a377556e 100644 (file)
--- 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
 
index c47d96d979dd0be5b2058303137884fdaa85757d..026542a4bfb4d5a95a767acf9d6f5f3502ef7257 100644 (file)
@@ -21,7 +21,7 @@
 #include <string.h>
 
 // Local includes
-#include <helpers.h>
+#include <SimpleArchiver/src/helpers.h>
 #include "constants.h"
 
 #define SINGLE_QUOTE_DECREMENT() \
index 6a8e6919e88d3ce904e82b42e6430d8a128e8098..37309a1d7c36af5995efebaa70aee79468622227 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef SEODISPARATE_COM_C_SIMPLE_HTTP_HTTP_H_
 #define SEODISPARATE_COM_C_SIMPLE_HTTP_HTTP_H_
 
-#include <hash_map.h>
+#include <SimpleArchiver/src/data_structures/hash_map.h>
 
 typedef struct HTTPTemplates {
   /// Each entry in this data structure is a hash map where its value for the
index f8795f88cc49952488ea10b7a1c5d9f5afaaffcd..ed7f8c5b39365f11f87ac065c9faa0216aa841e0 100644 (file)
@@ -6,8 +6,8 @@
 #include "http.h"
 
 // Third party includes.
-#include <helpers.h>
-#include <hash_map.h>
+#include <SimpleArchiver/src/helpers.h>
+#include <SimpleArchiver/src/data_structures/hash_map.h>
 
 static int checks_checked = 0;
 static int checks_passed = 0;