Closed younesaassila closed 2 years ago
Works fine for functions returning normal type:
Before:
char test(){}
After:
char test(void) { }
Doesn't work for functions returning a pointer:
char *test(){}
char *test() { }
Expected:
char *test(void) { }
Fix: Edit regexp to work for function declarations with any number of * characters between type and function name
*
Works fine for functions returning normal type:
Before:
After:
Doesn't work for functions returning a pointer:
Before:
After:
Expected:
Fix: Edit regexp to work for function declarations with any number of
*
characters between type and function name