kopia lustrzana https://github.com/Hamlib/Hamlib
Fix mingw32 build
rodzic
ccaaa41d83
commit
0d304ecf53
|
@ -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?
|
||||
*/
|
||||
|
|
|
@ -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?
|
||||
*/
|
||||
|
|
|
@ -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?
|
||||
*/
|
||||
|
|
Ładowanie…
Reference in New Issue