- 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:
Stefan Ginsberg 2015-09-05 20:50:51 +00:00
parent c378dbf128
commit d3d3e85c9a
5 changed files with 4 additions and 7 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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;

View file

@ -37,8 +37,6 @@ USHORT NlsOemDefaultChar = '\0';
USHORT NlsUnicodeDefaultChar = 0;
#define INIT_FUNCTION
/* FUNCTIONS *****************************************************************/
/*

View file

@ -9,7 +9,6 @@
.globl RtlFillMemoryUlonglong
.globl RtlMoveMemory
.globl RtlZeroMemory
.globl RtlPrefetchMemoryNonTemporal
RtlCompareMemory:
1: