mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 09:35:52 +00:00
netio.sys: Use nameless unions/structs.
This commit is contained in:
parent
240df39c1c
commit
6522c60fde
|
@ -20,9 +20,6 @@
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#define NONAMELESSUNION
|
|
||||||
#define NONAMELESSSTRUCT
|
|
||||||
|
|
||||||
#include "ntstatus.h"
|
#include "ntstatus.h"
|
||||||
#define WIN32_NO_STATUS
|
#define WIN32_NO_STATUS
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
@ -155,9 +152,9 @@ static void socket_init(struct wsk_socket_internal *socket)
|
||||||
|
|
||||||
static void dispatch_irp(IRP *irp, NTSTATUS status)
|
static void dispatch_irp(IRP *irp, NTSTATUS status)
|
||||||
{
|
{
|
||||||
irp->IoStatus.u.Status = status;
|
irp->IoStatus.Status = status;
|
||||||
--irp->CurrentLocation;
|
--irp->CurrentLocation;
|
||||||
--irp->Tail.Overlay.s.u2.CurrentStackLocation;
|
--irp->Tail.Overlay.CurrentStackLocation;
|
||||||
IoCompleteRequest(irp, IO_NO_INCREMENT);
|
IoCompleteRequest(irp, IO_NO_INCREMENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue