Author: sginsberg
Date: Sun Jan 18 09:48:55 2009
New Revision: 38897
URL:
http://svn.reactos.org/svn/reactos?rev=38897&view=rev
Log:
- ws2_32 Winetest: Define __ROS_LONG64__
- rpcrt4 Winetest: Fix an implicit declaration warning -- this should be sent to Wine
Added:
trunk/rostests/winetests/rpcrt4/warningfix.diff
Modified:
trunk/rostests/winetests/rpcrt4/server.c
trunk/rostests/winetests/ws2_32/ws2_32.rbuild
Modified: trunk/rostests/winetests/rpcrt4/server.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/rpcrt4/server.c…
==============================================================================
--- trunk/rostests/winetests/rpcrt4/server.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/rpcrt4/server.c [iso-8859-1] Sun Jan 18 09:48:55 2009
@@ -352,18 +352,18 @@
}
int
-s_sum_parr(int *a[3])
-{
- return s_sum_pcarr(a, 3);
-}
-
-int
s_sum_pcarr(int *a[], int n)
{
int i, s = 0;
for (i = 0; i < n; ++i)
s += *a[i];
return s;
+}
+
+int
+s_sum_parr(int *a[3])
+{
+ return s_sum_pcarr(a, 3);
}
int
Added: trunk/rostests/winetests/rpcrt4/warningfix.diff
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/rpcrt4/warningf…
==============================================================================
--- trunk/rostests/winetests/rpcrt4/warningfix.diff (added)
+++ trunk/rostests/winetests/rpcrt4/warningfix.diff [iso-8859-1] Sun Jan 18 09:48:55 2009
@@ -1,0 +1,30 @@
+Index: server.c
+===================================================================
+--- server.c (revision 38883)
++++ server.c (working copy)
+@@ -352,12 +352,6 @@
+ }
+
+ int
+-s_sum_parr(int *a[3])
+-{
+- return s_sum_pcarr(a, 3);
+-}
+-
+-int
+ s_sum_pcarr(int *a[], int n)
+ {
+ int i, s = 0;
+@@ -367,6 +361,12 @@
+ }
+
+ int
++s_sum_parr(int *a[3])
++{
++ return s_sum_pcarr(a, 3);
++}
++
++int
+ s_enum_ord(e_t e)
+ {
+ switch (e)
Modified: trunk/rostests/winetests/ws2_32/ws2_32.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/ws2_32/ws2_32.r…
==============================================================================
--- trunk/rostests/winetests/ws2_32/ws2_32.rbuild [iso-8859-1] (original)
+++ trunk/rostests/winetests/ws2_32/ws2_32.rbuild [iso-8859-1] Sun Jan 18 09:48:55 2009
@@ -4,6 +4,7 @@
<module name="ws2_32_winetest" type="win32cui"
installbase="bin" installname="ws2_32_winetest.exe"
allowwarnings="true">
<compilerflag compiler="cc">-Wno-format</compilerflag>
<include base="ws2_32_winetest">.</include>
+ <define name="__ROS_LONG64__" />
<file>protocol.c</file>
<file>sock.c</file>
<file>testlist.c</file>