Skip to content

Commit 1f1353e

Browse files
hozlucas28tefhuergoFerny1011GuidolinaresTiagoGiannotti
committed
feature: include headers (.h files) in source files
Co-authored-by: EstefaniaHuergo <[email protected]> Co-authored-by: Ferney Santiago Quiroga <[email protected]> Co-authored-by: Guidolinares <[email protected]> Co-authored-by: Tiago Giannotti <[email protected]>
1 parent 4620c36 commit 1f1353e

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

libs/game/methods.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11

2+
#include "./methods.h"
3+
24
#include <stdio.h>
35

46
#include "../patterns/main.h"

libs/patterns/constructors.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

2-
#include "./macros.h"
2+
#include "./constructors.h"
3+
4+
#include "../game/main.h"
35
#include "./methods.h"
46
#include "./structs.h"
57

libs/patterns/methods.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11

2+
#include "./methods.h"
3+
24
#include <stdio.h>
35

46
#include "./structs.h"

libs/utilities.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ int isStrIn(char* str, char* arr[], int size) {
4545

4646
void sleep(int miliseconds) {
4747
clock_t startTime = clock();
48-
while (clock() < (startTime + miliseconds))
49-
;
48+
while (clock() < (startTime + miliseconds));
5049
}
5150

5251
int strcmpi(const char* str01, const char* str02) {

libs/validators.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11

2+
#include "./validators.h"
3+
24
#include <ctype.h>
35
#include <limits.h>
46
#include <stdio.h>

0 commit comments

Comments
 (0)