Reduce include complexity.

This commit is contained in:
Eric S. Raymond 2024-01-03 05:55:57 -05:00
parent dd65960ec5
commit 75bc031b46
3 changed files with 2 additions and 4 deletions

View file

@ -9,10 +9,10 @@
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include "advent.h"
#include "dungeon.h"
#include <inttypes.h>
#include "advent.h"
static phase_codes_t fill(verb_t, obj_t);
static phase_codes_t attack(command_t command)

1
main.c
View file

@ -14,7 +14,6 @@
#include <unistd.h>
#include <editline/readline.h>
#include "advent.h"
#include "dungeon.h"
#define DIM(a) (sizeof(a)/sizeof(a[0]))

View file

@ -16,7 +16,6 @@
#include <inttypes.h>
#include "advent.h"
#include "dungeon.h"
/*
* Use this to detect endianness mismatch. Can't be unchanged by byte-swapping.