title: unable to use inline in declaration get error C2054
body: <p>I'm trying to compile some open source projects using the vs2013 c/c++ compiler. The file is .c extension. The below code returns some errors (below). All of which can be "fixed" by simply removing the inline in the declaration. Note: not a real function, just illustrative</p>
  
  <pre><code>static inline int pthread_fetch_and_add(int *val, int add, int *mutex)
  {
      return 0;
  }
  </code></pre>
  
  <p>errors
  error C2054: expected '(' to follow 'inline'
  error C2085: 'pthread_fetch_and_add' : not in formal parameter list
  error C2143: syntax error : missing ';' before '{'</p>