// K&R syntax int foo(a, p) int a; char *p; { return 0; } // ANSI syntax int foo(int a, char *p) { return 0; }
As you see, in
1) if you want to create standard C prototypes for a .h file use mkproto.c
mkproto thisoldfile.c > thisoldfile.h
You then could also paste over the old K&R code in the C file definition if desired.