Skip to content

Commit

Permalink
ref: file paths for header files
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroFnseca committed Sep 28, 2024
1 parent e90aef4 commit b5deb3f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/handler.h → src/headers/handler.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "response_builder.h"
#include "user_handler.h"
#include "headers/response_builder.h"
#include "headers/user_handler.h"
#include <setjmp.h>

jmp_buf exceptionBuffer;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/response_builder.h → src/headers/response_builder.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <microhttpd.h>
#include "utils.h"
#include "headers/utils.h"

struct MHD_Response *HTTP_build_response_JSON(const char *message) {
struct MHD_Response *response;
Expand Down
2 changes: 1 addition & 1 deletion src/user_handler.h → src/headers/user_handler.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "pg.h"
#include "headers/pg.h"
#include <string.h>
#include <stdio.h>

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <string.h>
#include <microhttpd.h>
#include "handler.h"
#include "headers/handler.h"

#define PORT 8080

Expand Down

0 comments on commit b5deb3f

Please sign in to comment.