summaryrefslogtreecommitdiffstats
path: root/tests/test-checksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-checksum.c')
-rw-r--r--tests/test-checksum.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test-checksum.c b/tests/test-checksum.c
index 5fb5d0dd..076dd4ad 100644
--- a/tests/test-checksum.c
+++ b/tests/test-checksum.c
@@ -26,8 +26,10 @@ typedef uint16_t testoff_t;
#define MODX 4102
/* Accumulator phase of checksum */
-static
-struct acc_vals
+static struct acc_vals
+accumulate (u_char *buffer, testsz_t len, testoff_t off)
+ __attribute__((unused)) ;
+static struct acc_vals
accumulate (u_char *buffer, testsz_t len, testoff_t off)
{
u_int8_t *p;