title: C Function is deprecated
body: <p>I used the code in below link:</p>
  
  <p><a href="http://web.mit.edu/gnu/doc/html/rlman_2.html" rel="nofollow noreferrer">Readline Library</a></p>
  
  <p>And I defined a struct like this</p>
  
  <pre><code>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;
  </code></pre>
  
  <p>When I compile the code the compiler displays these warnings: </p>
  
  <p><strong>"Function is deprecated [-Wdeprecated-declarations]"</strong></p>
  
  <p>So what type should I change if I cannot use the function type?</p>