mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
- Silence some C4028 warnings in our code by fixing some mismatched const.
- Also remove a misplaced INIT_FUNCTION and straggler RtlPrefetchMemoryNonTemporal. svn path=/trunk/; revision=69042
This commit is contained in:
parent
c378dbf128
commit
d3d3e85c9a
5 changed files with 4 additions and 7 deletions
|
@ -41,7 +41,7 @@ extern void GLAPIENTRY
|
|||
_mesa_DrawBuffer( GLenum mode );
|
||||
|
||||
extern void
|
||||
_mesa_drawbuffer(struct gl_context *ctx, const GLenum buffers, const GLbitfield destMask);
|
||||
_mesa_drawbuffer(struct gl_context *ctx, const GLenum buffers, GLbitfield destMask);
|
||||
|
||||
extern void
|
||||
_mesa_readbuffer(struct gl_context *ctx, GLenum buffer, GLint bufferIndex);
|
||||
|
|
|
@ -956,7 +956,7 @@ DWORD WINAPI lineSetCallParams(HCALL,DWORD,DWORD,DWORD,LPLINEDIALPARAMS);
|
|||
DWORD WINAPI lineSetCallPrivilege(HCALL,DWORD);
|
||||
DWORD WINAPI lineSetCurrentLocation(HLINEAPP,DWORD);
|
||||
DWORD WINAPI lineSetDevConfig(DWORD,LPVOID,DWORD,LPCSTR);
|
||||
DWORD WINAPI lineSetMediaControl(HLINE,DWORD,HCALL,DWORD,LPLINEMEDIACONTROLDIGIT,DWORD,LPLINEMEDIACONTROLMEDIA,DWORD,LPLINEMEDIACONTROLTONE,DWORD,LPLINEMEDIACONTROLCALLSTATE,DWORD);
|
||||
DWORD WINAPI lineSetMediaControl(HLINE,DWORD,HCALL,DWORD,LPLINEMEDIACONTROLDIGIT const,DWORD,LPLINEMEDIACONTROLMEDIA const,DWORD,LPLINEMEDIACONTROLTONE const,DWORD,LPLINEMEDIACONTROLCALLSTATE const,DWORD);
|
||||
DWORD WINAPI lineSetMediaMode(HCALL,DWORD);
|
||||
DWORD WINAPI lineSetNumRings(HLINE,DWORD,DWORD);
|
||||
DWORD WINAPI lineSetStatusMessages(HLINE,DWORD,DWORD);
|
||||
|
|
|
@ -351,7 +351,7 @@ TCPAcceptEventHandler(void *arg, PTCP_PCB newpcb)
|
|||
}
|
||||
|
||||
VOID
|
||||
TCPSendEventHandler(void *arg, u16_t space)
|
||||
TCPSendEventHandler(void *arg, const u16_t space)
|
||||
{
|
||||
PCONNECTION_ENDPOINT Connection = (PCONNECTION_ENDPOINT)arg;
|
||||
PTDI_BUCKET Bucket;
|
||||
|
@ -471,7 +471,7 @@ TCPRecvEventHandler(void *arg)
|
|||
}
|
||||
|
||||
VOID
|
||||
TCPConnectEventHandler(void *arg, err_t err)
|
||||
TCPConnectEventHandler(void *arg, const err_t err)
|
||||
{
|
||||
PCONNECTION_ENDPOINT Connection = (PCONNECTION_ENDPOINT)arg;
|
||||
PTDI_BUCKET Bucket;
|
||||
|
|
|
@ -37,8 +37,6 @@ USHORT NlsOemDefaultChar = '\0';
|
|||
USHORT NlsUnicodeDefaultChar = 0;
|
||||
|
||||
|
||||
#define INIT_FUNCTION
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
/*
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
.globl RtlFillMemoryUlonglong
|
||||
.globl RtlMoveMemory
|
||||
.globl RtlZeroMemory
|
||||
.globl RtlPrefetchMemoryNonTemporal
|
||||
|
||||
RtlCompareMemory:
|
||||
1:
|
||||
|
|
Loading…
Reference in a new issue