projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79416cb
)
CLEANUP: slz: Mark `reset_refs` as static
author
Tim Duesterhus
<tim@bastelstu.be>
Mon, 20 Sep 2021 17:59:42 +0000
(19:59 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Fri, 24 Sep 2021 13:07:50 +0000
(15:07 +0200)
This function has no prototype and is not used outside of slz.c.
src/slz.c
patch
|
blob
|
history
diff --git
a/src/slz.c
b/src/slz.c
index
9aacb9b
..
23912da
100644
(file)
--- 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;