malsyned / pfstest

Professional Firmware Services Unit Test Framework
Other
1 stars 0 forks source link

automock doesn't cope with multiple declarations of the same function #19

Closed malsyned closed 6 years ago

malsyned commented 6 years ago

it is legal in C to declare the same function twice, and at least stdio.h does so for vscanf and others. automock.py should generate only header line for each function, regardless of how many times they are declared.