CLEANUP: slz: Mark `reset_refs` as static

This function has no prototype and is not used outside of slz.c.
This commit is contained in:
Tim Duesterhus 2021-09-20 19:59:42 +02:00 committed by Willy Tarreau
parent 79416cbd7a
commit eaf16fcb53
1 changed files with 1 additions and 1 deletions

View File

@ -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 * be applied to 64-bit aligned data exclusively, which makes it slightly
* faster than the regular memset() since no alignment check is performed. * 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* */ /* avoid a shift/mask by casting to void* */
union ref *end = (void *)refs + count; union ref *end = (void *)refs + count;