nj@ndmath.UUCP (Narciso Jaramillo) (11/22/87)
Hello, I'm using Amiga Lattice C v4.0, which supports function argument type checking (e.g. foo(int, char *, int);) like the ANSI standard. Does anyone know of a program that will take a source file, get all its function declarations, convert them to prototypes, and put semicolons after them, so I can create a header file which declares all these external functions? For instance, if I have a source file void foo(arg1, arg2, arg3) int arg1; char *arg2; double arg3; { ... } double bar(test1, test2) int test1; double test2; { ... } I want the output file to look like: void foo(int, char *, double); double bar(int, double); Any suggestions? Thanks, nj. -- nj: ...!{pur-ee, rutgers, uunet}!iuvax!ndmath!nj, ...!ucbvax!mica!nj "I am not a book." -- RMN | __ __ "I am not Richard Nixon." -- GRF | / \ |oo|---- [what game, "I am not referring to myself." -- DRH | \/\/ |__|---- what maker?]