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:
parent
79416cbd7a
commit
eaf16fcb53
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue