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
26138619
Commit
26138619
authored
Jun 25, 2005
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 25, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some -Wmissing-declarations warnings.
"errno" is not a good choice for a parameter name.
parent
f51496a2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
8 deletions
+21
-8
async.c
dlls/winsock/async.c
+4
-4
protocol.c
dlls/winsock/protocol.c
+1
-0
socket.c
dlls/winsock/socket.c
+5
-4
ws2spi.h
include/ws2spi.h
+11
-0
No files found.
dlls/winsock/async.c
View file @
26138619
...
...
@@ -765,12 +765,12 @@ INT WINAPI WSApSetPostRoutine(LPWPUPOSTMESSAGE lpPostRoutine)
* (WS2_32.25)
*/
WSAEVENT
WINAPI
WPUCompleteOverlappedRequest
(
SOCKET
s
,
LPWSAOVERLAPPED
overlapped
,
DWORD
error
,
DWORD
transferred
,
LPINT
err
no
)
DWORD
error
,
DWORD
transferred
,
LPINT
err
code
)
{
FIXME
(
"(0x%08x,%p,0x%08lx,0x%08lx,%p), stub !
\n
"
,
s
,
overlapped
,
error
,
transferred
,
err
no
);
FIXME
(
"(0x%08x,%p,0x%08lx,0x%08lx,%p), stub !
\n
"
,
s
,
overlapped
,
error
,
transferred
,
err
code
);
if
(
err
no
)
*
err
no
=
WSAEINVAL
;
if
(
err
code
)
*
err
code
=
WSAEINVAL
;
return
NULL
;
}
dlls/winsock/protocol.c
View file @
26138619
...
...
@@ -46,6 +46,7 @@
#include "winsock2.h"
#include "wsipx.h"
#include "wshisotp.h"
#include "ws2spi.h"
#include "wine/unicode.h"
#include "wine/debug.h"
...
...
dlls/winsock/socket.c
View file @
26138619
...
...
@@ -127,6 +127,7 @@
#include "winsock2.h"
#include "mswsock.h"
#include "ws2tcpip.h"
#include "ws2spi.h"
#include "wsipx.h"
#include "winnt.h"
#include "iphlpapi.h"
...
...
@@ -4252,13 +4253,13 @@ INT WINAPI WSCEnableNSProvider( LPGUID provider, BOOL enable )
/***********************************************************************
* WSCGetProviderPath (WS2_32.86)
*/
INT
WINAPI
WSCGetProviderPath
(
LPGUID
provider
,
LPWSTR
path
,
LPINT
len
,
LPINT
err
no
)
INT
WINAPI
WSCGetProviderPath
(
LPGUID
provider
,
LPWSTR
path
,
LPINT
len
,
LPINT
err
code
)
{
FIXME
(
"(%s %p %p %p) Stub!
\n
"
,
debugstr_guid
(
provider
),
path
,
len
,
err
no
);
FIXME
(
"(%s %p %p %p) Stub!
\n
"
,
debugstr_guid
(
provider
),
path
,
len
,
err
code
);
if
(
!
err
no
||
!
provider
||
!
len
)
return
WSAEFAULT
;
if
(
!
err
code
||
!
provider
||
!
len
)
return
WSAEFAULT
;
*
err
no
=
WSAEINVAL
;
*
err
code
=
WSAEINVAL
;
return
SOCKET_ERROR
;
}
...
...
include/ws2spi.h
View file @
26138619
...
...
@@ -33,6 +33,17 @@ extern "C" {
typedef
BOOL
(
WINAPI
*
LPWPUPOSTMESSAGE
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
WSAEVENT
WINAPI
WPUCompleteOverlappedRequest
(
SOCKET
,
LPWSAOVERLAPPED
,
DWORD
,
DWORD
,
LPINT
);
INT
WINAPI
WSCInstallProvider
(
const
LPGUID
,
LPCWSTR
,
const
LPWSAPROTOCOL_INFOW
,
DWORD
,
LPINT
);
INT
WINAPI
WSCDeinstallProvider
(
LPGUID
,
LPINT
);
INT
WINAPI
WSCEnableNSProvider
(
LPGUID
,
BOOL
);
INT
WINAPI
WSCEnumProtocols
(
LPINT
,
LPWSAPROTOCOL_INFOW
,
LPDWORD
,
LPINT
);
INT
WINAPI
WSCGetProviderPath
(
LPGUID
,
LPWSTR
,
LPINT
,
LPINT
);
INT
WINAPI
WSCInstallNameSpace
(
LPWSTR
,
LPWSTR
,
DWORD
,
DWORD
,
LPGUID
);
INT
WINAPI
WSCUnInstallNameSpace
(
LPGUID
);
INT
WINAPI
WSCWriteProviderOrder
(
LPDWORD
,
DWORD
);
#ifdef __cplusplus
}
/* extern "C" */
#endif
/* defined(__cplusplus) */
...
...
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