diff options
Diffstat (limited to 'include/cli.h')
-rw-r--r-- | include/cli.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/cli.h b/include/cli.h index d8251775..f0a0d47a 100644 --- a/include/cli.h +++ b/include/cli.h @@ -2,9 +2,8 @@ #define _NFT_CLI_H_ #include <nftables/libnftables.h> -#include <config.h> -#if defined(HAVE_LIBREADLINE) || defined(HAVE_LIBLINENOISE) +#if defined(HAVE_LIBREADLINE) || defined(HAVE_LIBEDIT) || defined(HAVE_LIBLINENOISE) extern int cli_init(struct nft_ctx *nft); #else static inline int cli_init(struct nft_ctx *nft) @@ -12,6 +11,6 @@ static inline int cli_init(struct nft_ctx *nft) return -1; } #endif -extern void cli_exit(void); +extern void cli_exit(int rc); #endif |