title: Expected identifier error in C
body: <p>For some reason I am getting the error:</p>
  
  <pre><code>expected identifier or '(' before 'wordlist'
  </code></pre>
  
  <p>in my header file (as well as the corresponding function definitions) for the two functions returning <code>wordlist</code> pointers. </p>
  
  <p>With the following code:</p>
  
  <pre><code>#ifndef FUNCTIONS_H
  #define FUNCTIONS_H
  
  typedef struct word{
     char *string;
     struct word* next;
  }word;
  
  typedef struct wordlist{
     word *head;
     word *tail;
  }wordlist;
  
  *wordlist populateList(FILE *file);
  
  *wordlist encrypt(wordlist *wl, int rotation);
  
  void toFile(wordlist *wl, char *outputFileName);
  
  #endif
  </code></pre>
  
  <p>Can anyone tell me why this might be?</p>