diff mbox series

[RFC,nftables,2/4] cli: remove unused declaration.

Message ID 20190916124203.31380-3-jeremy@azazel.net
State Accepted
Delegated to: Pablo Neira
Headers show
Series Add Linenoise support to the CLI. | expand

Commit Message

Jeremy Sowden Sept. 16, 2019, 12:42 p.m. UTC
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(-)

Comments

Pablo Neira Ayuso Sept. 20, 2019, 10:15 a.m. UTC | #1
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 mbox series

Patch

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