From 0e4d71efe2ed666a5c94ba947e9e44c9307257d9 Mon Sep 17 00:00:00 2001 From: mvandervoord Date: Mon, 2 Mar 2009 01:09:24 +0000 Subject: [PATCH] - portability improvements git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@67 bf332499-1b4d-0410-844d-d2d48d5cc64c --- examples/src/AdcModel.c | 2 ++ examples/src/Types.h | 1 + 2 files changed, 3 insertions(+) diff --git a/examples/src/AdcModel.c b/examples/src/AdcModel.c index cf13ac2..4db67e3 100644 --- a/examples/src/AdcModel.c +++ b/examples/src/AdcModel.c @@ -17,10 +17,12 @@ void AdcModel_ProcessInput(uint16 millivolts) bool AdcModel_DoNothingExceptTestASpecialType(EXAMPLE_STRUCT_T ExampleStruct) { //This doesn't really do anything. it's only here to make sure I can compare a struct. + return FALSE; } bool AdModel_DoNothingExceptTestPointers(uint32* pExample) { //This doesn't really do anything. it's only here to make sure I can compare a pointer value. + return FALSE; } EXAMPLE_STRUCT_T AdcModel_DoNothingExceptReturnASpecialType(void) diff --git a/examples/src/Types.h b/examples/src/Types.h index d5508b7..2e5c2e6 100644 --- a/examples/src/Types.h +++ b/examples/src/Types.h @@ -2,6 +2,7 @@ #define _MYTYPES_H_ #include "AT91SAM7X256.h" +#include #ifndef __monitor #define __monitor