From 24f5e9f6945a7546f1954ef58300c9dbf1e55eca Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Fri, 1 May 2015 12:10:36 +0000 Subject: [PATCH] Remove the extra extern which makes gcc complain; I assume it came from r282289. We do include ixgbe.h which does include ixgbe_common.h which has the extern statement for ixgbe_stop_mac_link_on_d3_82599(). --- sys/dev/ixgbe/if_ix.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/ixgbe/if_ix.c b/sys/dev/ixgbe/if_ix.c index 61d3e241c598..b9bba31a5908 100644 --- a/sys/dev/ixgbe/if_ix.c +++ b/sys/dev/ixgbe/if_ix.c @@ -204,10 +204,6 @@ static void ixgbe_handle_phy(void *, int); static void ixgbe_reinit_fdir(void *, int); #endif - -/* Missing shared code prototype */ -extern void ixgbe_stop_mac_link_on_d3_82599(struct ixgbe_hw *hw); - /********************************************************************* * FreeBSD Device Interface Entry Points *********************************************************************/