summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-10-11 17:48:55 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-10-15 13:37:51 +0200
commitdf21b75ae20092e36e5aa6fc19c9c96a3f629751 (patch)
treeaba0f9ac47c840086f866c5ffe6354578cd0b9d0 /include
parent44b079303f68c9e034696e36d9489592e71adced (diff)
json: Drop unused symbolic_constant_json() stub
This seems like a left-over from day 1: Said function is static in json.c, so there is no point in providing a stub when compiling with JSON disabled. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/json.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/json.h b/include/json.h
index 99b67644..66337548 100644
--- a/include/json.h
+++ b/include/json.h
@@ -164,12 +164,6 @@ STMT_PRINT_STUB(tproxy)
#undef EXPR_PRINT_STUB
#undef JSON_PRINT_STUB
-static inline json_t *symbolic_constant_json(const struct symbol_table *tbl,
- const struct expr *expr)
-{
- return NULL;
-}
-
static inline int do_command_list_json(struct netlink_ctx *ctx, struct cmd *cmd)
{
return -1;