summaryrefslogtreecommitdiffstats
path: root/sw/z80/libc
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2017-05-02 16:14:41 +0200
committerNao Pross <naopross@thearcway.org>2017-05-02 16:14:41 +0200
commit1ec8f14f03322e3fe1f56f4abcbc85f5c2934dfc (patch)
treeee02eed9bdffd1db5bff20d3b9fa47b89f0e264b /sw/z80/libc
parentMerge branch 'master' into naopross (diff)
downloadz80uPC-1ec8f14f03322e3fe1f56f4abcbc85f5c2934dfc.tar.gz
z80uPC-1ec8f14f03322e3fe1f56f4abcbc85f5c2934dfc.zip
fix for sdcc makefile
fix for the old makefile, because it could't compile more than one source file. new libc directory with mem.c to start implementing the standard C library (or at least the part we need).
Diffstat (limited to 'sw/z80/libc')
-rw-r--r--sw/z80/libc/mem.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/z80/libc/mem.c b/sw/z80/libc/mem.c
new file mode 100644
index 0000000..667a752
--- /dev/null
+++ b/sw/z80/libc/mem.c
@@ -0,0 +1,7 @@
+#include "types.h"
+#include "mem.h"
+
+void *malloc(size_t size)
+{
+ :
+}