Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e3664fa8
Commit
e3664fa8
authored
Jun 16, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ipconfig: Use nameless union/structs.
parent
14518662
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
ipconfig.c
programs/ipconfig/ipconfig.c
+1
-3
No files found.
programs/ipconfig/ipconfig.c
View file @
e3664fa8
...
@@ -19,8 +19,6 @@
...
@@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#define NONAMELESSUNION
#include <stdio.h>
#include <stdio.h>
#include <winsock2.h>
#include <winsock2.h>
#include <windows.h>
#include <windows.h>
...
@@ -317,7 +315,7 @@ static void print_full_information(void)
...
@@ -317,7 +315,7 @@ static void print_full_information(void)
print_field
(
STRING_CONN_DNS_SUFFIX
,
p
->
DnsSuffix
);
print_field
(
STRING_CONN_DNS_SUFFIX
,
p
->
DnsSuffix
);
print_field
(
STRING_DESCRIPTION
,
p
->
Description
);
print_field
(
STRING_DESCRIPTION
,
p
->
Description
);
print_field
(
STRING_PHYS_ADDR
,
physaddr_to_string
(
physaddr_buf
,
p
->
PhysicalAddress
,
p
->
PhysicalAddressLength
));
print_field
(
STRING_PHYS_ADDR
,
physaddr_to_string
(
physaddr_buf
,
p
->
PhysicalAddress
,
p
->
PhysicalAddressLength
));
print_field
(
STRING_DHCP_ENABLED
,
boolean_to_string
(
p
->
u1
.
Flags
&
IP_ADAPTER_DHCP_ENABLED
));
print_field
(
STRING_DHCP_ENABLED
,
boolean_to_string
(
p
->
Flags
&
IP_ADAPTER_DHCP_ENABLED
));
/* FIXME: Output autoconfiguration status. */
/* FIXME: Output autoconfiguration status. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment