Fix mingw32 build

pull/174/head
Michael Black 2020-01-15 16:06:56 -06:00
rodzic ccaaa41d83
commit 0d304ecf53
3 zmienionych plików z 1 dodań i 15 usunięć

Wyświetl plik

@ -269,7 +269,6 @@ void hash_delete_all()
}
#ifdef HAVE_LIBREADLINE
/* Frees allocated memory and sets pointers to NULL before calling readline
* and then parses the input into space separated tokens.
*/
@ -301,10 +300,6 @@ static void rp_getline(const char *s)
input_line = readline(s);
}
#endif
/*
* TODO: use Lex?
*/

Wyświetl plik

@ -403,7 +403,6 @@ void hash_delete_all()
}
#ifdef HAVE_LIBREADLINE
/* Frees allocated memory and sets pointers to NULL before calling readline
* and then parses the input into space separated tokens.
*/
@ -432,10 +431,6 @@ static void rp_getline(const char *s)
input_line = readline(s);
}
#endif
/*
* TODO: use Lex?
*/

Wyświetl plik

@ -115,8 +115,8 @@ static pthread_mutex_t rot_mutex = PTHREAD_MUTEX_INITIALIZER;
#define ARG_OUT (ARG_OUT1|ARG_OUT2|ARG_OUT3|ARG_OUT4)
/* variables for readline support */
#ifdef HAVE_LIBREADLINE
static char *input_line = (char *)NULL;
#ifdef HAVE_LIBREADLINE
static char *result = (char *)NULL;
static char *parsed_input[sizeof(char *) * 7];
static const int have_rl = 1;
@ -316,7 +316,6 @@ void hash_delete_all()
}
#ifdef HAVE_LIBREADLINE
/* Frees allocated memory and sets pointers to NULL before calling readline
* and then parses the input into space separated tokens.
*/
@ -349,9 +348,6 @@ static void rp_getline(const char *s)
}
#endif
/*
* TODO: use Lex?
*/