summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Roullit <emmanuel.roullit@gmail.com>2017-01-15 20:51:24 +0100
committerFerruh Yigit <ferruh.yigit@intel.com>2017-01-17 19:41:43 +0100
commit25358aa6f73471d99d9f1cd0aba1b96b7c1fcfb7 (patch)
treeb23d9ca60158e7faae0f45637e32832ffc5dad46
parent1039ee1c6ddfa2ba67e05449147c8e5c2d783cd0 (diff)
downloaddpdk-25358aa6f73471d99d9f1cd0aba1b96b7c1fcfb7.zip
dpdk-25358aa6f73471d99d9f1cd0aba1b96b7c1fcfb7.tar.gz
dpdk-25358aa6f73471d99d9f1cd0aba1b96b7c1fcfb7.tar.xz
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 <emmanuel.roullit@gmail.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
-rw-r--r--drivers/net/qede/qede_eth_if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qede/qede_eth_if.h b/drivers/net/qede/qede_eth_if.h
index f0c489c..8b96df0 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);