Possible Duplicate:
Declaring function parameters after function name
C function syntax, parameter types declared after parameter list
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?
int
timeval_subtract (result, x, y)
struct timeval *result, *x, *y;
{
... (function code here)
}