summaryrefslogtreecommitdiff
path: root/str_chr.c
diff options
context:
space:
mode:
Diffstat (limited to 'str_chr.c')
-rw-r--r--str_chr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/str_chr.c b/str_chr.c
index 042dfa2..886d6b6 100644
--- a/str_chr.c
+++ b/str_chr.c
@@ -1,9 +1,9 @@
#include "str.h"
-unsigned int str_chr(register const char *s,int c)
+unsigned int str_chr(register char *s,int c)
{
register char ch;
- register const char *t;
+ register char *t;
ch = c;
t = s;