mirror of
https://github.com/troglobit/editline.git
synced 2025-05-06 21:01:12 +08:00
Fix invalid function pointer declarations.
This commit is contained in:
parent
ad0fee03aa
commit
885475fc49
@ -61,7 +61,7 @@ typedef enum {
|
|||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int Key;
|
int Key;
|
||||||
el_status_t (*Function)();
|
el_status_t (*Function)(void);
|
||||||
} el_keymap_t;
|
} el_keymap_t;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -604,7 +604,7 @@ static el_status_t h_search(void)
|
|||||||
{
|
{
|
||||||
static int Searching;
|
static int Searching;
|
||||||
const char *old_prompt;
|
const char *old_prompt;
|
||||||
const char *(*move)();
|
const char *(*move)(void);
|
||||||
const char *p;
|
const char *p;
|
||||||
|
|
||||||
if (Searching)
|
if (Searching)
|
||||||
|
Loading…
Reference in New Issue
Block a user