aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/src/string/strcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/src/string/strcmp.c')
-rw-r--r--lib/libc/src/string/strcmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/src/string/strcmp.c b/lib/libc/src/string/strcmp.c
index 9d9c5f1..b9e941a 100644
--- a/lib/libc/src/string/strcmp.c
+++ b/lib/libc/src/string/strcmp.c
@@ -32,8 +32,8 @@
int
strcmp(const char *s1, const char *s2)
{
- char *p1 = (char*)s1;
- char *p2 = (char*)s2;
+ char *p1 = (char *)s1;
+ char *p2 = (char *)s2;
while (*p1 || *p2) {
if (*p1 < *p2)