I want to get only function prototypes like
int my_func(char, int, float) void my_func1(void) my_func2()
from C files using regex and pytho
See if your C compiler has an option to output a file of just the prototypes of what it is compiling. For gcc, it's -aux-info FILENAME