Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 9f1122e3cc91315900f36ea9a01e5fff > files > 9

dkms-et131x-1.2.3-2.1mdv2008.0.src.rpm

Fix for
"et131x_netdev.c:1336: warning: ISO C90 forbids mixed declarations and code"

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com>

--- et131x-1.2.3.orig/et131x_netdev.c	2008-01-19 23:47:02.000000000 -0200
+++ et131x-1.2.3/et131x_netdev.c	2008-01-20 00:00:50.000000000 -0200
@@ -1328,17 +1328,16 @@ int et131x_change_mtu( struct net_device
  *****************************************************************************/
 int et131x_set_mac_addr( struct net_device *netdev, void *new_mac )
 {
-    DBG_FUNC( "et131x_set_mac_addr" );
-    DBG_ENTER( et131x_dbginfo );
-    // begin blux
-    // DBG_VERBOSE( et131x_dbginfo, "Function not implemented!!\n" );
-
     int             result = 0;
     ET131X_ADAPTER *adapter = NULL;
     struct sockaddr *address = new_mac;
     /*-----------------------------------------------------------------------*/
 
 
+    DBG_FUNC( "et131x_set_mac_addr" );
+    DBG_ENTER( et131x_dbginfo );
+
+
     /**************************************************************************
        Get the private adapter structure
      *************************************************************************/