title: weird error when passing pthread_t to function
body: <p>I have a C header file which defines the following function:</p>
  
  <pre><code>void my_func(pthread_t tid);
  </code></pre>
  
  <p>This is defined by another function:</p>
  
  <pre><code>void my_func(pthread_t tid) {
  ...
  </code></pre>
  
  <p>When I compile, it says:</p>
  
  <pre><code>****.h:2: error: expected specifier-qualifier-list before ‘pthread_t’
  </code></pre>
  
  <p>Any ideas what I'm doing wrong?</p>