aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/IO.c2
-rw-r--r--src/Platform/Dummy/Tss.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/IO.c b/src/IO.c
index 0bb6c75..c8516da 100644
--- a/src/IO.c
+++ b/src/IO.c
@@ -1,5 +1,5 @@
#include <BH/IO.h>
-#include <malloc.h>
+#include <stdlib.h>
#define BUFFER_SIZE (sizeof(char *))
diff --git a/src/Platform/Dummy/Tss.c b/src/Platform/Dummy/Tss.c
index 4b83931..61a0bcd 100644
--- a/src/Platform/Dummy/Tss.c
+++ b/src/Platform/Dummy/Tss.c
@@ -3,13 +3,14 @@
int BH_TssCreate(BH_GenericCallback callback)
{
-
BH_UNUSED(callback);
+ return 0;
}
void *BH_TssRead(int index)
{
+ BH_UNUSED(index);
return NULL;
}