I used the code in the link below:
Readline Library
And I defined a structure like this
typedef struct {
char *name;
Function *func;
char *doc;
} COMMAND;
When I compile the code, the compiler displays these warnings:
"Function deprecated [-Wdeprecated-declarations]"
So, what type should I change if I cannot use the type of the function?
source
share