summaryrefslogtreecommitdiff
path: root/lib/json.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2018-09-01 05:05:30 +0200
committerGitHub <noreply@github.com>2018-09-01 05:05:30 +0200
commit1fbd4e382aaf654dcb13d27bec1f7c6c145b533f (patch)
tree4ebd49e15f6714986c2e9bb7994528ba24f5d9ac /lib/json.h
parent04f04f0fa5cc206c655658b3c556932d57a95ac6 (diff)
parentca61fd2587504f14d966c73563b61140557dde65 (diff)
Merge pull request #2945 from dslicenc/bgp-ospf-json
bgpd/ospfd: make bgp and ospf json response a bit more consistent
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 788d1d6efa..d349162304 100644
--- a/lib/json.h
+++ b/lib/json.h
@@ -52,7 +52,7 @@ extern int json_object_object_get_ex(struct json_object *obj, const char *key,
#include "command.h"
-extern int use_json(const int argc, struct cmd_token *argv[]);
+extern bool use_json(const int argc, 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,