Signed-off-by: Sven Eckelmann <[email protected]>
---
 allocate.c | 4 +++-
 profile.c  | 7 ++++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/allocate.c b/allocate.c
index 4196dab..c6c3082 100644
--- a/allocate.c
+++ b/allocate.c
@@ -421,6 +421,8 @@ void debugFree(void *memoryParameter, int tag)
 
 #else
 
+#include "batman.h"
+
 void checkIntegrity(void)
 {
 }
@@ -459,7 +461,7 @@ void *debugRealloc(void *memory, uint32_t length, int32_t 
tag)
        return result;
 }
 
-void debugFree(void *memory, int32_t tag)
+void debugFree(void *memory, int32_t BATMANUNUSED(tag))
 {
        free(memory);
 }
diff --git a/profile.c b/profile.c
index 9692d7d..a063750 100644
--- a/profile.c
+++ b/profile.c
@@ -80,20 +80,21 @@ void prof_print(void) {
 
 #else
 
+#include "batman.h"
 
-void prof_init( int32_t index, const char *name ) {
+void prof_init( int32_t BATMANUNUSED(index), const char *BATMANUNUSED(name) ) {
 
 }
 
 
 
-void prof_start( int32_t index ) {
+void prof_start( int32_t BATMANUNUSED(index) ) {
 
 }
 
 
 
-void prof_stop( int32_t index ) {
+void prof_stop( int32_t BATMANUNUSED(index) ) {
 
 }
 
-- 
1.8.4.rc3

Reply via email to