public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95ef055
)
coco3: fix strcmp definition
author
Brett Gordon
<beretta42@gmail.com>
Sun, 11 Mar 2018 04:04:25 +0000
(23:04 -0500)
committer
Brett Gordon
<beretta42@gmail.com>
Sun, 11 Mar 2018 04:04:25 +0000
(23:04 -0500)
Kernel/platform-coco3/libc.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-coco3/libc.c
b/Kernel/platform-coco3/libc.c
index
cac2585
..
fe38786
100644
(file)
--- a/
Kernel/platform-coco3/libc.c
+++ b/
Kernel/platform-coco3/libc.c
@@
-1,6
+1,6
@@
#include "cpu.h"
-int strcmp(
char *a,
char *b ){
+int strcmp(
const char *a, const
char *b ){
return strncmp(a, b, strlen(a));
}