From eaf16fcb53afafa427dec4e5b79f4a278daad48d Mon Sep 17 00:00:00 2001 From: Tim Duesterhus Date: Mon, 20 Sep 2021 19:59:42 +0200 Subject: [PATCH] CLEANUP: slz: Mark `reset_refs` as static This function has no prototype and is not used outside of slz.c. --- src/slz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slz.c b/src/slz.c index 9aacb9b7a..23912da6a 100644 --- a/src/slz.c +++ b/src/slz.c @@ -466,7 +466,7 @@ static inline long memmatch(const unsigned char *a, const unsigned char *b, long * be applied to 64-bit aligned data exclusively, which makes it slightly * faster than the regular memset() since no alignment check is performed. */ -void reset_refs(union ref *refs, long count) +static void reset_refs(union ref *refs, long count) { /* avoid a shift/mask by casting to void* */ union ref *end = (void *)refs + count;