summaryrefslogtreecommitdiffstats
path: root/lib/json.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-09-21 05:20:02 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-21 05:20:02 +0200
commit8a2d6083d6ca49f23668bfb4db83051ee03492d3 (patch)
tree254cbcaf64301bb80bc3801fd3b042ce18fbb368 /lib/json.h
parentlib: Fixup more files (diff)
downloadfrr-8a2d6083d6ca49f23668bfb4db83051ee03492d3.tar.xz
frr-8a2d6083d6ca49f23668bfb4db83051ee03492d3.zip
lib: Fixup json code to use struct cmd_token
Diffstat (limited to 'lib/json.h')
-rw-r--r--lib/json.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/json.h b/lib/json.h
index 5dbad601a..25fceb105 100644
--- a/lib/json.h
+++ b/lib/json.h
@@ -28,7 +28,7 @@
#include <json/json.h>
#endif
-extern int use_json(const int argc, const char *argv[]);
+extern int use_json(const int argc, const struct cmd_token *argv[]);
extern void json_object_string_add(struct json_object* obj, const char *key,
const char *s);
extern void json_object_int_add(struct json_object* obj, const char *key,