aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/unistd
diff options
context:
space:
mode:
authorMarvin Borner2020-05-06 19:04:05 +0200
committerMarvin Borner2020-05-06 19:04:05 +0200
commitd94ffac4a584dc7a4f6f2ec567b8caab05ce9253 (patch)
tree559cd596a0a407d4b40c1d12d3c6a0686494da16 /src/userspace/libc/unistd
parent1a8563a05608b5b5e27eada44cf4790926001c68 (diff)
New build parameters and shared includes
This changes many files but I've just applied some replace commands.. So - nothing special!
Diffstat (limited to 'src/userspace/libc/unistd')
-rw-r--r--src/userspace/libc/unistd/read.c2
-rw-r--r--src/userspace/libc/unistd/write.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/userspace/libc/unistd/read.c b/src/userspace/libc/unistd/read.c
index 0f8b914..7ae2626 100644
--- a/src/userspace/libc/unistd/read.c
+++ b/src/userspace/libc/unistd/read.c
@@ -1,7 +1,7 @@
#include <stdint.h>
#include <syscall.h>
-u32 read(char *path, u32 offset, u32 count, char *buf)
+u32 read(char *path, u32 offset, u32 count, u8 *buf)
{
return syscall_read(path, offset, count, buf);
} \ No newline at end of file
diff --git a/src/userspace/libc/unistd/write.c b/src/userspace/libc/unistd/write.c
index 7cae9cd..cd1a0f6 100644
--- a/src/userspace/libc/unistd/write.c
+++ b/src/userspace/libc/unistd/write.c
@@ -1,7 +1,7 @@
#include <stdint.h>
#include <syscall.h>
-u32 write(char *path, u32 offset, u32 count, char *buf)
+u32 write(char *path, u32 offset, u32 count, u8 *buf)
{
return syscall_write(path, offset, count, buf);
} \ No newline at end of file