mirror of
				https://github.com/troglobit/editline.git
				synced 2025-11-01 01:01:34 +08:00 
			
		
		
		
	Fix invalid function pointer declarations.
This commit is contained in:
		| @@ -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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Joachim Nilsson
					Joachim Nilsson