When ansifying from K&R code, which order should the arguments come in?

K&R code:
int
blah(x, y)
  float y;
  int x;
{ ... }

Does the K&R code go to (1) or (2)?
(1)
int
blah(int x, float y)
{ ... }

(2)
int
blah(float y, int x)
{ ... }

I am guessing that (1) is the correct answer.

Also, can you have K&R and ansi function definitions in the same file?

Warren Turkal
-- 
President, GOLUM, Inc.
http://www.golum.org

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to