From 257a7160734854b6ceaea04096b4dd9410fe9645 Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Mon, 15 Apr 2013 09:13:29 +0300 Subject: [PATCH] Fix the signature again, and also rest of the errors Next time, remember to check with -Werror first... --- test/suites/api/test_dump.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/suites/api/test_dump.c b/test/suites/api/test_dump.c index 07fac7f..bc34547 100644 --- a/test/suites/api/test_dump.c +++ b/test/suites/api/test_dump.c @@ -9,8 +9,11 @@ #include #include "util.h" -static int encode_null_callback(char *buffer, size_t size, void *data) +static int encode_null_callback(const char *buffer, size_t size, void *data) { + (void)buffer; + (void)size; + (void)data; return 0; }