Author: sginsberg
Date: Sat Sep 5 20:50:51 2015
New Revision: 69042
URL:
http://svn.reactos.org/svn/reactos?rev=69042&view=rev
Log:
- Silence some C4028 warnings in our code by fixing some mismatched const.
- Also remove a misplaced INIT_FUNCTION and straggler RtlPrefetchMemoryNonTemporal.
Modified:
trunk/reactos/dll/opengl/mesa/main/buffers.h
trunk/reactos/include/psdk/tapi.h
trunk/reactos/lib/drivers/ip/transport/tcp/event.c
trunk/reactos/lib/rtl/nls.c
trunk/reactos/lib/rtl/powerpc/rtlmem.s
Modified: trunk/reactos/dll/opengl/mesa/main/buffers.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/buffe…
==============================================================================
--- trunk/reactos/dll/opengl/mesa/main/buffers.h [iso-8859-1] (original)
+++ trunk/reactos/dll/opengl/mesa/main/buffers.h [iso-8859-1] Sat Sep 5 20:50:51 2015
@@ -41,7 +41,7 @@
_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);
Modified: trunk/reactos/include/psdk/tapi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/tapi.h?rev=69…
==============================================================================
--- trunk/reactos/include/psdk/tapi.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/tapi.h [iso-8859-1] Sat Sep 5 20:50:51 2015
@@ -956,7 +956,7 @@
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);
Modified: trunk/reactos/lib/drivers/ip/transport/tcp/event.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/transport/t…
==============================================================================
--- trunk/reactos/lib/drivers/ip/transport/tcp/event.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/transport/tcp/event.c [iso-8859-1] Sat Sep 5 20:50:51
2015
@@ -351,7 +351,7 @@
}
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 @@
}
VOID
-TCPConnectEventHandler(void *arg, err_t err)
+TCPConnectEventHandler(void *arg, const err_t err)
{
PCONNECTION_ENDPOINT Connection = (PCONNECTION_ENDPOINT)arg;
PTDI_BUCKET Bucket;
Modified: trunk/reactos/lib/rtl/nls.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/nls.c?rev=69042&am…
==============================================================================
--- trunk/reactos/lib/rtl/nls.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/nls.c [iso-8859-1] Sat Sep 5 20:50:51 2015
@@ -36,8 +36,6 @@
USHORT NlsOemDefaultChar = '\0';
USHORT NlsUnicodeDefaultChar = 0;
-
-#define INIT_FUNCTION
/* FUNCTIONS *****************************************************************/
Modified: trunk/reactos/lib/rtl/powerpc/rtlmem.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/powerpc/rtlmem.s?r…
==============================================================================
--- trunk/reactos/lib/rtl/powerpc/rtlmem.s [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/powerpc/rtlmem.s [iso-8859-1] Sat Sep 5 20:50:51 2015
@@ -9,7 +9,6 @@
.globl RtlFillMemoryUlonglong
.globl RtlMoveMemory
.globl RtlZeroMemory
-.globl RtlPrefetchMemoryNonTemporal
RtlCompareMemory:
1: