Cleanup usage of third-party headers

This commit is contained in:
Stephen Seo 2024-08-31 14:43:53 +09:00
parent b4a56a7918
commit edffbf0656
4 changed files with 5 additions and 7 deletions

View file

@ -1,7 +1,5 @@
COMMON_FLAGS = -Wall -Wextra -Wpedantic \ COMMON_FLAGS = -Wall -Wextra -Wpedantic \
-Ithird_party/SimpleArchiver/src \ -Ithird_party
-Ithird_party/SimpleArchiver/src/data_structures \
-Ithird_party/SimpleArchiver/src/algorithms
DEBUG_FLAGS = -Og -g DEBUG_FLAGS = -Og -g
RELEASE_FLAGS = -O3 -DNDEBUG RELEASE_FLAGS = -O3 -DNDEBUG

View file

@ -21,7 +21,7 @@
#include <string.h> #include <string.h>
// Local includes // Local includes
#include <helpers.h> #include <SimpleArchiver/src/helpers.h>
#include "constants.h" #include "constants.h"
#define SINGLE_QUOTE_DECREMENT() \ #define SINGLE_QUOTE_DECREMENT() \

View file

@ -17,7 +17,7 @@
#ifndef SEODISPARATE_COM_C_SIMPLE_HTTP_HTTP_H_ #ifndef SEODISPARATE_COM_C_SIMPLE_HTTP_HTTP_H_
#define 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 { typedef struct HTTPTemplates {
/// Each entry in this data structure is a hash map where its value for the /// Each entry in this data structure is a hash map where its value for the

View file

@ -6,8 +6,8 @@
#include "http.h" #include "http.h"
// Third party includes. // Third party includes.
#include <helpers.h> #include <SimpleArchiver/src/helpers.h>
#include <hash_map.h> #include <SimpleArchiver/src/data_structures/hash_map.h>
static int checks_checked = 0; static int checks_checked = 0;
static int checks_passed = 0; static int checks_passed = 0;