From 5764f71985f737b19ca79844cb677ce0164dace9 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 15 Dec 2018 18:15:39 +0100 Subject: [PATCH] readorders was deprecated and is now gone. --- src/orderfile.c | 11 ----------- src/orderfile.h | 1 - 2 files changed, 12 deletions(-) diff --git a/src/orderfile.c b/src/orderfile.c index 01169fa62..e9198510e 100644 --- a/src/orderfile.c +++ b/src/orderfile.c @@ -355,14 +355,3 @@ int parseorders(FILE *F) OP_ParserFree(parser); return err; } - -int readorders(FILE *F) -{ - int result; - - input in; - in.getbuf = file_getbuf; - in.data = F; - result = read_orders(&in); - return result; -} diff --git a/src/orderfile.h b/src/orderfile.h index f4260aa67..f7934556e 100644 --- a/src/orderfile.h +++ b/src/orderfile.h @@ -13,7 +13,6 @@ extern "C" { } input; int read_orders(struct input *in); - int readorders(FILE *F); int parseorders(FILE *F); #ifdef __cplusplus