From 85fd28eb2cd3f3d9b8de286b597024bfc8963172 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 13 Aug 2020 09:42:50 +0200 Subject: [PATCH] fix SKIPREADLINE compilation err --- client/src/proxmark3.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/src/proxmark3.c b/client/src/proxmark3.c index b09c3a9ae..179b3f343 100644 --- a/client/src/proxmark3.c +++ b/client/src/proxmark3.c @@ -139,17 +139,14 @@ static int check_comm(void) { msleep(10); return 0; } -static void flush_history(void) { #ifdef HAVE_READLINE +static void flush_history(void) { if (session.history_path) { write_history(session.history_path); free(session.history_path); } -#endif } -#ifdef HAVE_READLINE - # if defined(_WIN32) /* static bool WINAPI terminate_handler(DWORD t) {