Reduce include complexity.
This commit is contained in:
parent
dd65960ec5
commit
75bc031b46
3 changed files with 2 additions and 4 deletions
|
@ -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
1
main.c
|
@ -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]))
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue