mirror of
https://github.com/meekrosoft/fff
synced 2026-01-23 00:15:59 +01:00
Merge pull request #20 from usr42/master
Fix for issue 13: Add function prototype to DECLARE_* macro
This commit is contained in:
@@ -7,15 +7,6 @@
|
||||
|
||||
|
||||
//// Imaginary production code header file ///
|
||||
void voidfunc1(int);
|
||||
void voidfunc2(char, char);
|
||||
void voidfunc1outparam(char *);
|
||||
long longfunc0();
|
||||
void voidfunc3var(const char *fmt, int argc, ...);
|
||||
int valuefunc3var(const char *fmt, int argc, ...);
|
||||
void voidfunc20(int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int);
|
||||
int valuefunc20(int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int);
|
||||
|
||||
enum MYBOOL { FALSE = 899, TRUE };
|
||||
struct MyStruct {
|
||||
int x;
|
||||
@@ -37,7 +28,6 @@ DECLARE_FAKE_VOID_FUNC(voidfunc20, int, int, int, int, int, int, int, int, int,
|
||||
DECLARE_FAKE_VALUE_FUNC(int, valuefunc20, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int);
|
||||
|
||||
#ifndef __cplusplus
|
||||
int strlcpy3(char* const, const char* const, const size_t);
|
||||
DECLARE_FAKE_VALUE_FUNC(int, strlcpy3, char* const, const char* const, const size_t);
|
||||
#endif /* __cplusplus */
|
||||
#endif /* GLOBAL_FAKES_H_ */
|
||||
|
||||
Reference in New Issue
Block a user