diff options
author | Kaimakan71 <undefined.foss@gmail.com> | 2024-04-21 14:05:38 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-04-21 19:02:01 -0400 |
commit | 6132e1e97271fb915184803dec701fd39ef7bb10 (patch) | |
tree | b815168bf21afe50551947349aa6c34d723d1318 /lib/libc/src/string/strncmp.c | |
parent | bc4adda7297b07a764b42f2c30e80f9bbee6a25d (diff) |
libc: Add close() and stdio functions
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com>
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/src/string/strncmp.c')
-rw-r--r-- | lib/libc/src/string/strncmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/src/string/strncmp.c b/lib/libc/src/string/strncmp.c index 47d562a..7f4df75 100644 --- a/lib/libc/src/string/strncmp.c +++ b/lib/libc/src/string/strncmp.c @@ -32,8 +32,8 @@ int strncmp(const char *s1, const char *s2, size_t n) { - char *p1 = (char*)s1; - char *p2 = (char*)s2; + char *p1 = (char *)s1; + char *p2 = (char *)s2; for (size_t i = 0; i < n; i++) { if (!*p1 && !*p2) |