aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/stkmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/stkmalloc.c')
-rw-r--r--src/libthread/stkmalloc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libthread/stkmalloc.c b/src/libthread/stkmalloc.c
new file mode 100644
index 00000000..083aea1b
--- /dev/null
+++ b/src/libthread/stkmalloc.c
@@ -0,0 +1,13 @@
+#include "threadimpl.h"
+
+void*
+_threadstkalloc(int n)
+{
+ return malloc(n);
+}
+
+void
+_threadstkfree(void *v, int n)
+{
+ free(v);
+}