summaryrefslogtreecommitdiffstats
path: root/src/osf.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-08-29 11:37:39 +0200
committerFlorian Westphal <fw@strlen.de>2018-08-29 23:53:48 +0200
commit92029c1282958aad13eb8602c67b73caf2a08a09 (patch)
treebff7a62d56ba4fb33d3a44adcbfac1d3b726f95c /src/osf.c
parent176d9ad8c351cff9f0c21da5b5f2848e4c77b249 (diff)
src: osf: add json support
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/osf.c')
-rw-r--r--src/osf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osf.c b/src/osf.c
index b8457cc4..fc09e157 100644
--- a/src/osf.c
+++ b/src/osf.c
@@ -3,6 +3,7 @@
#include <utils.h>
#include <string.h>
#include <osf.h>
+#include <json.h>
static void osf_expr_print(const struct expr *expr, struct output_ctx *octx)
{
@@ -18,6 +19,7 @@ static const struct expr_ops osf_expr_ops = {
.name = "osf",
.print = osf_expr_print,
.clone = osf_expr_clone,
+ .json = osf_expr_json,
};
struct expr *osf_expr_alloc(const struct location *loc)