From 49d8fa1058aaf23c29e074b2314492ae40d2f557 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 21 Feb 2017 12:05:07 +0000 Subject: Types change: big pass on libstddjb and libunixonacid libdatastruct still missing, library still not functional --- src/libstddjb/str_rchr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/libstddjb/str_rchr.c') diff --git a/src/libstddjb/str_rchr.c b/src/libstddjb/str_rchr.c index c82ee69..76e8e4e 100644 --- a/src/libstddjb/str_rchr.c +++ b/src/libstddjb/str_rchr.c @@ -1,12 +1,11 @@ /* ISC license. */ -#include #include #include -size_t str_rchr (register char const *s, int c) +size_t str_rchr (char const *s, int c) { - register char *p = strrchr(s, c) ; + char *p = strrchr(s, c) ; return p ? p - s : strlen(s) ; } -- cgit v1.2.3