commit e2888de02e7e27fedeb2262cdae8ef67f27c188e
parent ce286aba148826c1d5ffe36749406ff05d583067
Author: bsandro <[email protected]>
Date: Sat, 4 Dec 2021 03:28:07 +0200
Removed useless headers
Diffstat:
8 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/day01/main.c b/day01/main.c
@@ -1,6 +1,7 @@
#include <stdio.h>
-#include "puzzle1.h"
-#include "puzzle2.h"
+
+int puzzle1(const char *filename);
+int puzzle2(const char *filename);
int main(int argc, char *argv[]) {
printf("Advent of Code: day 01\n");
diff --git a/day01/puzzle1.h b/day01/puzzle1.h
@@ -1 +0,0 @@
-int puzzle1(const char *filename);
diff --git a/day01/puzzle2.h b/day01/puzzle2.h
@@ -1 +0,0 @@
-int puzzle2(const char *filename);
diff --git a/day02/main.c b/day02/main.c
@@ -1,6 +1,7 @@
#include <stdio.h>
-#include "puzzle1.h"
-#include "puzzle2.h"
+
+int puzzle1(const char *filename);
+int puzzle2(const char *filename);
int main(int argc, char *argv[]) {
printf("Advent of Code: day 02\n");
diff --git a/day02/puzzle1.h b/day02/puzzle1.h
@@ -1 +0,0 @@
-int puzzle1(const char *filename);
diff --git a/day02/puzzle2.h b/day02/puzzle2.h
@@ -1 +0,0 @@
-int puzzle2(const char *filename);
diff --git a/day03/main.c b/day03/main.c
@@ -1,6 +1,7 @@
#include <stdio.h>
-#include "puzzle1.h"
-//#include "puzzle2.h"
+
+int puzzle1(const char *filename);
+int puzzle2(const char *filename);
int main(int argc, char *argv[]) {
printf("Advent of Code: day 03\n");
diff --git a/day03/puzzle1.h b/day03/puzzle1.h
@@ -1 +0,0 @@
-int puzzle1(const char *filename);