Reduce number of msg callback typedefs

This commit is contained in:
Nicolas Williams committed 2015-02-13 15:58:02 -06:00
1 parent 0d414471bb
commit a83a9e0bc2
5 files changed
+17 -18

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ static int process(jq_state *jq, jv value, int flags, int dumpopts) {
return ret;
}
static void debug_cb(jq_state *jq, void *data, jv input) {
static void debug_cb(void *data, jv input) {
int dumpopts = *(int *)data;
jv_dumpf(JV_ARRAY(jv_string("DEBUG:"), input), stderr, dumpopts & ~(JV_PRINT_PRETTY));
fprintf(stderr, "\n");