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>
#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;