title: C function with parameter types declared after parameters?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1151402/declaring-function-parameters-after-function-name">Declaring function parameters after function name</a><br>
    <a href="https://stackoverflow.com/questions/1585390/c-function-syntax-parameter-types-declared-after-parameter-list">C function syntax, parameter types declared after parameter list</a>  </p>
  </blockquote>
  
  
  
  <p>I'm fairly new to C and was mucking around with timing and came across the following function.  I can get it to work by passing pointers to it.  I don't really understand whats happening here though. What does the third line do and how is the second line even legal?</p>
  
  <pre><code>int 
  timeval_subtract (result, x, y)
       struct timeval *result, *x, *y;
  {
    ... (function code here)
  }
  </code></pre>