diff --git a/src/kernel/order.c b/src/kernel/order.c index d83c6967b..63048626b 100644 --- a/src/kernel/order.c +++ b/src/kernel/order.c @@ -560,12 +560,6 @@ void push_order(order ** ordp, order * ord) *ordp = ord; } -static char *getcommand(const order * ord) -{ - char cmd[ORDERSIZE]; - return _strdup(get_command(ord, cmd, sizeof(cmd))); -} - keyword_t init_order(const struct order *ord) { char *cmd = 0; diff --git a/src/kernel/order.test.c b/src/kernel/order.test.c index 1f2de0e80..1d556c622 100644 --- a/src/kernel/order.test.c +++ b/src/kernel/order.test.c @@ -1,3 +1,4 @@ +#include #include #include #include "order.h" @@ -7,6 +8,7 @@ #include #include +#include static void test_create_order(CuTest *tc) { char cmd[32];