Sun WorkShop Compiler C 5.0 User's Guide

-xP

Prints prototypes for all K&R C functions defined in this module.


f()
{
}

main(argc,argv)
int argc;
char *argv[];
{
}

produces this output:


int f(void);
int main(int, char **);