summaryrefslogtreecommitdiff
path: root/userspace
diff options
context:
space:
mode:
Diffstat (limited to 'userspace')
-rw-r--r--userspace/Makefile4
-rw-r--r--userspace/sys/sys.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/userspace/Makefile b/userspace/Makefile
index 09486c0..7e35096 100644
--- a/userspace/Makefile
+++ b/userspace/Makefile
@@ -19,10 +19,6 @@ ext2.img: $(PROGS)
sudo umount mnt
rm mnt -rf
-#shell.bin: shell.c
-# ${CC} -T sys/oldlinker.ld -shell.c o shell.bin
-# objcopy -O binary shell shell.bin
-
brainfuck: brainfuck.o
shell: shell.o
simple: simple.o
diff --git a/userspace/sys/sys.c b/userspace/sys/sys.c
index 7dcfaee..ecdf556 100644
--- a/userspace/sys/sys.c
+++ b/userspace/sys/sys.c
@@ -4,12 +4,12 @@
// building binutils required this stubs!
+
long sysconf(int name)
{
return 0;
}
-
mode_t umask(mode_t mask)
{
return mask;