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