svn commit: r282299 - head/sys/dev/ixgbe

Bjoern A. Zeeb bz at FreeBSD.org
Fri May 1 12:10:37 UTC 2015


Author: bz
Date: Fri May  1 12:10:36 2015
New Revision: 282299
URL: https://svnweb.freebsd.org/changeset/base/282299

Log:
  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().

Modified:
  head/sys/dev/ixgbe/if_ix.c

Modified: head/sys/dev/ixgbe/if_ix.c
==============================================================================
--- head/sys/dev/ixgbe/if_ix.c	Fri May  1 11:56:21 2015	(r282298)
+++ head/sys/dev/ixgbe/if_ix.c	Fri May  1 12:10:36 2015	(r282299)
@@ -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
  *********************************************************************/


More information about the svn-src-all mailing list