aboutsummaryrefslogtreecommitdiff
path: root/sys/libc
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-04-19 11:03:44 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-04-19 11:03:44 -0700
commit82885d35ea1b52982ebcf3a58e9d328cfa4e933a (patch)
tree9fecd2ff65802efe6fdd55092c207511ac334a79 /sys/libc
parent471886467ee05046e8bd9e3621878e06ca9cbd5f (diff)
fix: minor libc changes
Diffstat (limited to 'sys/libc')
-rw-r--r--sys/libc/string.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/libc/string.c b/sys/libc/string.c
index 8fcdfd2..0e41efa 100644
--- a/sys/libc/string.c
+++ b/sys/libc/string.c
@@ -2,7 +2,7 @@
#include <libc.h>
void*
-memcopy(void* dst, void* src, intptr n)
+memcopy(void *dst, void *src, intptr n)
{
byte *e, *s, *d;
@@ -16,7 +16,7 @@ memcopy(void* dst, void* src, intptr n)
}
void*
-memmove(void* dst, void* src, intptr n)
+memmove(void *dst, void *src, intptr n)
{
byte *e, *s, *d;
s = src;
@@ -39,7 +39,7 @@ memmove(void* dst, void* src, intptr n)
}
void*
-memset(void* buf, int val, intptr n)
+memset(void *buf, int val, intptr n)
{
byte *b, *e;
b = buf;
@@ -52,7 +52,7 @@ memset(void* buf, int val, intptr n)
}
int
-memcmp(void* lhs, void* rhs, intptr n)
+memcmp(void *lhs, void *rhs, intptr n)
{
byte *bl, *br, *e;