Message ID | 20190916124203.31380-3-jeremy@azazel.net |
---|---|
State | Accepted |
Delegated to: | Pablo Neira |
Headers | show |
Series | Add Linenoise support to the CLI. | expand |
On Mon, Sep 16, 2019 at 01:42:01PM +0100, Jeremy Sowden wrote: > cli.h includes a forward declaration of struct parser_state which is not > needed. Remove it. Also applied, thanks.
diff --git a/include/cli.h b/include/cli.h index c1819d464327..023f004b8dab 100644 --- a/include/cli.h +++ b/include/cli.h @@ -4,7 +4,6 @@ #include <nftables/libnftables.h> #include <config.h> -struct parser_state; #ifdef HAVE_LIBREADLINE extern int cli_init(struct nft_ctx *nft); #else
cli.h includes a forward declaration of struct parser_state which is not needed. Remove it. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> --- include/cli.h | 1 - 1 file changed, 1 deletion(-)