summaryrefslogtreecommitdiff
path: root/src/libstddjb/byte_chr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/byte_chr.c')
-rw-r--r--src/libstddjb/byte_chr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/byte_chr.c b/src/libstddjb/byte_chr.c
index d24e92d..bf0cf52 100644
--- a/src/libstddjb/byte_chr.c
+++ b/src/libstddjb/byte_chr.c
@@ -6,6 +6,6 @@
size_t byte_chr (char const *s, size_t n, int c)
{
- register void *p = memchr(s, c, n) ;
+ void *p = memchr(s, c, n) ;
return p ? (char *)p - s : n ;
}