aboutsummaryrefslogtreecommitdiff
path: root/test/suites/api/test_dump.c
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2013-04-15 09:13:29 +0300
committerPetri Lehtinen <petri@digip.org>2013-04-15 09:15:03 +0300
commit257a7160734854b6ceaea04096b4dd9410fe9645 (patch)
treeed1f9501dfcb46861e2162515ff20a376d0791b3 /test/suites/api/test_dump.c
parent42e307b3c5bc6784b33213836ca3054dbae5eb65 (diff)
downloadjansson-257a7160734854b6ceaea04096b4dd9410fe9645.zip
jansson-257a7160734854b6ceaea04096b4dd9410fe9645.tar.gz
jansson-257a7160734854b6ceaea04096b4dd9410fe9645.tar.bz2
Fix the signature again, and also rest of the errors
Next time, remember to check with -Werror first...
Diffstat (limited to 'test/suites/api/test_dump.c')
-rw-r--r--test/suites/api/test_dump.c5
1 files changed, 4 insertions, 1 deletions
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 <string.h>
#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;
}