I used the code in below link:
And I defined a struct like this
typedef struct {
char *name; /* User printable name of the function. */
Function *func; /* Function to call to do the job. */
char *doc; /* Documentation for this function. */
} COMMAND;
When I compile the code the compiler displays these warnings:
"Function is deprecated [-Wdeprecated-declarations]"
So what type should I change if I cannot use the function type?