netprofm: Use nameless unions/structs.
This commit is contained in:
parent
6522c60fde
commit
c94e218ff4
1 changed files with 1 additions and 3 deletions
|
@ -18,8 +18,6 @@
|
|||
*/
|
||||
|
||||
#define COBJMACROS
|
||||
#define NONAMELESSUNION
|
||||
#define NONAMELESSSTRUCT
|
||||
|
||||
#include <stdarg.h>
|
||||
#include "windef.h"
|
||||
|
@ -1769,7 +1767,7 @@ static void init_networks( struct list_manager *mgr )
|
|||
struct connection *connection;
|
||||
NET_LUID luid;
|
||||
|
||||
ConvertInterfaceIndexToLuid(aa->u.s.IfIndex, &luid);
|
||||
ConvertInterfaceIndexToLuid(aa->IfIndex, &luid);
|
||||
ConvertInterfaceLuidToGuid(&luid, &id);
|
||||
|
||||
/* assume a one-to-one mapping between networks and connections */
|
||||
|
|
Loading…
Add table
Reference in a new issue