advent2021

Advent of Code 2021 Solutions
git clone git://bsandro.tech/advent2021
Log | Files | Refs

commit e2888de02e7e27fedeb2262cdae8ef67f27c188e
parent ce286aba148826c1d5ffe36749406ff05d583067
Author: bsandro <brian.drosan@gmail.com>
Date:   Sat,  4 Dec 2021 03:28:07 +0200

Removed useless headers

Diffstat:
Mday01/main.c | 5+++--
Dday01/puzzle1.h | 1-
Dday01/puzzle2.h | 1-
Mday02/main.c | 5+++--
Dday02/puzzle1.h | 1-
Dday02/puzzle2.h | 1-
Mday03/main.c | 5+++--
Dday03/puzzle1.h | 1-
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);