From 75bc031b46097725c83b63bbdb520ac3c907ef05 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 3 Jan 2024 05:55:57 -0500 Subject: [PATCH] Reduce include complexity. --- actions.c | 4 ++-- main.c | 1 - saveresume.c | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/actions.c b/actions.c index 4f4ced1..f5a7abd 100644 --- a/actions.c +++ b/actions.c @@ -9,10 +9,10 @@ #include #include #include -#include "advent.h" -#include "dungeon.h" #include +#include "advent.h" + static phase_codes_t fill(verb_t, obj_t); static phase_codes_t attack(command_t command) diff --git a/main.c b/main.c index 16cf42d..3fadf10 100644 --- a/main.c +++ b/main.c @@ -14,7 +14,6 @@ #include #include #include "advent.h" -#include "dungeon.h" #define DIM(a) (sizeof(a)/sizeof(a[0])) diff --git a/saveresume.c b/saveresume.c index a2c10a0..3b94b48 100644 --- a/saveresume.c +++ b/saveresume.c @@ -16,7 +16,6 @@ #include #include "advent.h" -#include "dungeon.h" /* * Use this to detect endianness mismatch. Can't be unchanged by byte-swapping. -- 2.31.1