mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-08-13 06:37:52 +00:00
Fix compile warnings on inline.h test header
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
|
||||
static inline void dummy_func_0(void) {
|
||||
static inline int dummy_func_0(void) {
|
||||
return 5;
|
||||
}
|
||||
|
||||
inline static void dummy_func_1(int a) {
|
||||
inline static int dummy_func_1(int a) {
|
||||
int a = dummy_func_0();
|
||||
int b = 10;
|
||||
|
||||
return a + b;
|
||||
}
|
||||
|
||||
void inline static dummy_func_2(int a, char b, float c) {
|
||||
int inline static dummy_func_2(int a, char b, float c) {
|
||||
c += 3.14;
|
||||
b -= 32;
|
||||
return a + (int)(b) + c;
|
||||
return a + (int)(b) + (int)c;
|
||||
}
|
||||
|
||||
void dummy_normal_func(int a);
|
||||
|
||||
Reference in New Issue
Block a user