From: Emmanuel Roullit Date: Sun, 15 Jan 2017 19:51:24 +0000 (+0100) Subject: net/qede: fix function declaration X-Git-Tag: spdx-start~4803 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=25358aa6f73471d99d9f1cd0aba1b96b7c1fcfb7;p=dpdk.git net/qede: fix function declaration clang reports this error message: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] Fixes: 5cdd769a26ec ("qede: add L2 support") Signed-off-by: Emmanuel Roullit Acked-by: Ferruh Yigit --- diff --git a/drivers/net/qede/qede_eth_if.h b/drivers/net/qede/qede_eth_if.h index f0c489ceda..8b96df0ca6 100644 --- a/drivers/net/qede/qede_eth_if.h +++ b/drivers/net/qede/qede_eth_if.h @@ -133,7 +133,7 @@ struct qed_eth_ops { extern const struct qed_common_ops qed_common_ops_pass; -const struct qed_eth_ops *qed_get_eth_ops(); +const struct qed_eth_ops *qed_get_eth_ops(void); int qed_configure_filter_rx_mode(struct rte_eth_dev *eth_dev, enum qed_filter_rx_mode_type type);