From 4fee151f35a6094f35dca5352b430159a78fb5ed Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 16 Dec 2018 09:48:39 +0100 Subject: [PATCH] fix compilation --- src/kernel/version.c | 1 + src/orderfile.c | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/kernel/version.c b/src/kernel/version.c index ca73b77e2..1f8f7e0a7 100644 --- a/src/kernel/version.c +++ b/src/kernel/version.c @@ -3,6 +3,7 @@ #endif #include "version.h" +#include #include #ifndef ERESSEA_VERSION diff --git a/src/orderfile.c b/src/orderfile.c index e9198510e..0ebb7ff2c 100644 --- a/src/orderfile.c +++ b/src/orderfile.c @@ -223,12 +223,6 @@ int read_orders(input *in) return 0; } -static const char * file_getbuf(void *data) -{ - FILE *F = (FILE *)data; - return getbuf(F); -} - typedef struct parser_state { unit *u; faction *f;