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
b61c182d
Commit
b61c182d
authored
Jun 13, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 13, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More warning fixes.
parent
4d7e1e4b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
10 deletions
+16
-10
epmap_server.c
programs/rpcss/epmap_server.c
+1
-1
np_server.c
programs/rpcss/np_server.c
+9
-9
license.c
programs/winefile/license.c
+5
-0
splitpath.c
programs/winefile/splitpath.c
+1
-0
No files found.
programs/rpcss/epmap_server.c
View file @
b61c182d
...
@@ -41,7 +41,7 @@ static struct epmap_entry *epmap;
...
@@ -41,7 +41,7 @@ static struct epmap_entry *epmap;
static
const
UUID
nil_object
;
static
const
UUID
nil_object
;
char
*
mystrdup
(
const
char
*
str
)
{
static
char
*
mystrdup
(
const
char
*
str
)
{
char
*
rval
;
char
*
rval
;
rval
=
LocalAlloc
(
LPTR
,
strlen
(
str
)
+
1
);
rval
=
LocalAlloc
(
LPTR
,
strlen
(
str
)
+
1
);
CopyMemory
(
rval
,
str
,
strlen
(
str
)
+
1
);
CopyMemory
(
rval
,
str
,
strlen
(
str
)
+
1
);
...
...
programs/rpcss/np_server.c
View file @
b61c182d
...
@@ -82,7 +82,7 @@ BOOL RPCSS_UnBecomePipeServer(void)
...
@@ -82,7 +82,7 @@ BOOL RPCSS_UnBecomePipeServer(void)
return
rslt
;
return
rslt
;
}
}
void
RPCSS_ServerProcessRANMessage
(
PRPCSS_NP_MESSAGE
pMsg
,
PRPCSS_NP_REPLY
pReply
)
static
void
RPCSS_ServerProcessRANMessage
(
PRPCSS_NP_MESSAGE
pMsg
,
PRPCSS_NP_REPLY
pReply
)
{
{
WINE_TRACE
(
"
\n
"
);
WINE_TRACE
(
"
\n
"
);
/* we do absolutely nothing, but on the server end,
/* we do absolutely nothing, but on the server end,
...
@@ -92,7 +92,7 @@ void RPCSS_ServerProcessRANMessage(PRPCSS_NP_MESSAGE pMsg, PRPCSS_NP_REPLY pRepl
...
@@ -92,7 +92,7 @@ void RPCSS_ServerProcessRANMessage(PRPCSS_NP_MESSAGE pMsg, PRPCSS_NP_REPLY pRepl
pReply
->
as_uint
=
0
;
pReply
->
as_uint
=
0
;
}
}
void
RPCSS_ServerProcessREGISTEREPMessage
(
PRPCSS_NP_MESSAGE
pMsg
,
PRPCSS_NP_REPLY
pReply
,
static
void
RPCSS_ServerProcessREGISTEREPMessage
(
PRPCSS_NP_MESSAGE
pMsg
,
PRPCSS_NP_REPLY
pReply
,
char
*
vardata
)
char
*
vardata
)
{
{
WINE_TRACE
(
"
\n
"
);
WINE_TRACE
(
"
\n
"
);
...
@@ -110,7 +110,7 @@ void RPCSS_ServerProcessREGISTEREPMessage(PRPCSS_NP_MESSAGE pMsg, PRPCSS_NP_REPL
...
@@ -110,7 +110,7 @@ void RPCSS_ServerProcessREGISTEREPMessage(PRPCSS_NP_MESSAGE pMsg, PRPCSS_NP_REPL
pReply
->
as_uint
=
0
;
pReply
->
as_uint
=
0
;
}
}
void
RPCSS_ServerProcessUNREGISTEREPMessage
(
PRPCSS_NP_MESSAGE
pMsg
,
static
void
RPCSS_ServerProcessUNREGISTEREPMessage
(
PRPCSS_NP_MESSAGE
pMsg
,
PRPCSS_NP_REPLY
pReply
,
char
*
vardata
)
PRPCSS_NP_REPLY
pReply
,
char
*
vardata
)
{
{
WINE_TRACE
(
"
\n
"
);
WINE_TRACE
(
"
\n
"
);
...
@@ -127,7 +127,7 @@ void RPCSS_ServerProcessUNREGISTEREPMessage(PRPCSS_NP_MESSAGE pMsg,
...
@@ -127,7 +127,7 @@ void RPCSS_ServerProcessUNREGISTEREPMessage(PRPCSS_NP_MESSAGE pMsg,
pReply
->
as_uint
=
0
;
pReply
->
as_uint
=
0
;
}
}
void
RPCSS_ServerProcessRESOLVEEPMessage
(
PRPCSS_NP_MESSAGE
pMsg
,
static
void
RPCSS_ServerProcessRESOLVEEPMessage
(
PRPCSS_NP_MESSAGE
pMsg
,
PRPCSS_NP_REPLY
pReply
,
char
*
vardata
)
PRPCSS_NP_REPLY
pReply
,
char
*
vardata
)
{
{
WINE_TRACE
(
"
\n
"
);
WINE_TRACE
(
"
\n
"
);
...
@@ -142,7 +142,7 @@ void RPCSS_ServerProcessRESOLVEEPMessage(PRPCSS_NP_MESSAGE pMsg,
...
@@ -142,7 +142,7 @@ void RPCSS_ServerProcessRESOLVEEPMessage(PRPCSS_NP_MESSAGE pMsg,
);
);
}
}
void
RPCSS_ServerProcessMessage
(
PRPCSS_NP_MESSAGE
pMsg
,
PRPCSS_NP_REPLY
pReply
,
char
*
vardata
)
static
void
RPCSS_ServerProcessMessage
(
PRPCSS_NP_MESSAGE
pMsg
,
PRPCSS_NP_REPLY
pReply
,
char
*
vardata
)
{
{
WINE_TRACE
(
"
\n
"
);
WINE_TRACE
(
"
\n
"
);
switch
(
pMsg
->
message_type
)
{
switch
(
pMsg
->
message_type
)
{
...
@@ -164,7 +164,7 @@ void RPCSS_ServerProcessMessage(PRPCSS_NP_MESSAGE pMsg, PRPCSS_NP_REPLY pReply,
...
@@ -164,7 +164,7 @@ void RPCSS_ServerProcessMessage(PRPCSS_NP_MESSAGE pMsg, PRPCSS_NP_REPLY pReply,
}
}
/* each message gets its own thread. this is it. */
/* each message gets its own thread. this is it. */
VOID
HandlerThread
(
LPVOID
lpvPipeHandle
)
static
VOID
HandlerThread
(
LPVOID
lpvPipeHandle
)
{
{
RPCSS_NP_MESSAGE
msg
,
vardata_payload_msg
;
RPCSS_NP_MESSAGE
msg
,
vardata_payload_msg
;
char
*
c
,
*
vardata
=
NULL
;
char
*
c
,
*
vardata
=
NULL
;
...
@@ -251,7 +251,7 @@ VOID HandlerThread(LPVOID lpvPipeHandle)
...
@@ -251,7 +251,7 @@ VOID HandlerThread(LPVOID lpvPipeHandle)
InterlockedDecrement
(
&
srv_thread_count
);
InterlockedDecrement
(
&
srv_thread_count
);
}
}
VOID
NPMainWorkThread
(
LPVOID
ignored
)
static
VOID
NPMainWorkThread
(
LPVOID
ignored
)
{
{
BOOL
connected
;
BOOL
connected
;
HANDLE
hthread
,
master_mutex
=
RPCSS_GetMasterMutex
();
HANDLE
hthread
,
master_mutex
=
RPCSS_GetMasterMutex
();
...
@@ -334,7 +334,7 @@ VOID NPMainWorkThread(LPVOID ignored)
...
@@ -334,7 +334,7 @@ VOID NPMainWorkThread(LPVOID ignored)
WINE_TRACE
(
"Server thread shutdown.
\n
"
);
WINE_TRACE
(
"Server thread shutdown.
\n
"
);
}
}
HANDLE
RPCSS_NPConnect
(
void
)
static
HANDLE
RPCSS_NPConnect
(
void
)
{
{
HANDLE
the_pipe
=
NULL
;
HANDLE
the_pipe
=
NULL
;
DWORD
dwmode
,
wait_result
;
DWORD
dwmode
,
wait_result
;
...
@@ -405,7 +405,7 @@ HANDLE RPCSS_NPConnect(void)
...
@@ -405,7 +405,7 @@ HANDLE RPCSS_NPConnect(void)
return
the_pipe
;
return
the_pipe
;
}
}
BOOL
RPCSS_SendReceiveNPMsg
(
HANDLE
np
,
PRPCSS_NP_MESSAGE
msg
,
PRPCSS_NP_REPLY
reply
)
static
BOOL
RPCSS_SendReceiveNPMsg
(
HANDLE
np
,
PRPCSS_NP_MESSAGE
msg
,
PRPCSS_NP_REPLY
reply
)
{
{
DWORD
count
;
DWORD
count
;
...
...
programs/winefile/license.c
View file @
b61c182d
...
@@ -17,6 +17,9 @@
...
@@ -17,6 +17,9 @@
*/
*/
#include "windows.h"
#include "windows.h"
#include "winefile.h"
#ifdef __WINE__
static
const
CHAR
LicenseCaption
[]
=
"LICENSE"
;
static
const
CHAR
LicenseCaption
[]
=
"LICENSE"
;
static
const
CHAR
License
[]
=
static
const
CHAR
License
[]
=
...
@@ -50,3 +53,5 @@ VOID WineWarranty(HWND hwnd)
...
@@ -50,3 +53,5 @@ VOID WineWarranty(HWND hwnd)
{
{
MessageBoxA
(
hwnd
,
NoWarranty
,
NoWarrantyCaption
,
MB_ICONEXCLAMATION
|
MB_OK
);
MessageBoxA
(
hwnd
,
NoWarranty
,
NoWarrantyCaption
,
MB_ICONEXCLAMATION
|
MB_OK
);
}
}
#endif
programs/winefile/splitpath.c
View file @
b61c182d
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#define WIN32_EXTRA_LEAN
#define WIN32_EXTRA_LEAN
#include <windows.h>
#include <windows.h>
#include "winefile.h"
#ifdef __WINE__
#ifdef __WINE__
...
...
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