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