Remove stdlib.h inclusion if winesock.h is included
Pierre d'Herbemont
stegefin at free.fr
Wed May 18 07:10:19 CDT 2005
Alexandre,
Here is the patch which removes stdlib.h, where winesock.h is included
(directly or indirectly).
Pierre.
ChangeLog:
Remove stdlib.h inclusion if winesock.h is included.
-------------- next part --------------
Index: dlls/kernel/tests/pipe.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/tests/pipe.c,v
retrieving revision 1.17
diff -u -r1.17 pipe.c
--- dlls/kernel/tests/pipe.c 24 Mar 2005 19:05:02 -0000 1.17
+++ dlls/kernel/tests/pipe.c 18 May 2005 12:03:46 -0000
@@ -20,7 +20,6 @@
#include <assert.h>
#include <stdarg.h>
-#include <stdlib.h>
#include <stdio.h>
#include <time.h>
Index: dlls/oleaut32/tests/olefont.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/tests/olefont.c,v
retrieving revision 1.5
diff -u -r1.5 olefont.c
--- dlls/oleaut32/tests/olefont.c 11 Aug 2004 19:43:46 -0000 1.5
+++ dlls/oleaut32/tests/olefont.c 18 May 2005 12:03:49 -0000
@@ -21,7 +21,6 @@
#include <stdarg.h>
#include <stdio.h>
-#include <stdlib.h>
#include <math.h>
#include <float.h>
#include <time.h>
Index: dlls/oleaut32/tests/safearray.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/tests/safearray.c,v
retrieving revision 1.20
diff -u -r1.20 safearray.c
--- dlls/oleaut32/tests/safearray.c 31 Jan 2005 11:31:50 -0000 1.20
+++ dlls/oleaut32/tests/safearray.c 18 May 2005 12:03:49 -0000
@@ -21,7 +21,6 @@
#include <stdarg.h>
#include <stdio.h>
-#include <stdlib.h>
#include <math.h>
#include <float.h>
#include <time.h>
Index: dlls/oleaut32/tests/vartest.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/tests/vartest.c,v
retrieving revision 1.35
diff -u -r1.35 vartest.c
--- dlls/oleaut32/tests/vartest.c 24 Jan 2005 11:29:44 -0000 1.35
+++ dlls/oleaut32/tests/vartest.c 18 May 2005 12:03:51 -0000
@@ -20,7 +20,6 @@
#include <stdarg.h>
#include <stdio.h>
-#include <stdlib.h>
#include <math.h>
#include <float.h>
#include <time.h>
Index: dlls/shlwapi/tests/clsid.c
===================================================================
RCS file: /home/wine/wine/dlls/shlwapi/tests/clsid.c,v
retrieving revision 1.5
diff -u -r1.5 clsid.c
--- dlls/shlwapi/tests/clsid.c 17 Dec 2004 19:09:29 -0000 1.5
+++ dlls/shlwapi/tests/clsid.c 18 May 2005 12:03:51 -0000
@@ -17,7 +17,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <stdlib.h>
#include <stdio.h>
#define INITGUID
Index: dlls/shlwapi/tests/ordinal.c
===================================================================
RCS file: /home/wine/wine/dlls/shlwapi/tests/ordinal.c,v
retrieving revision 1.15
diff -u -r1.15 ordinal.c
--- dlls/shlwapi/tests/ordinal.c 27 Dec 2004 17:46:36 -0000 1.15
+++ dlls/shlwapi/tests/ordinal.c 18 May 2005 12:03:51 -0000
@@ -17,7 +17,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <stdlib.h>
#include <stdio.h>
#include "wine/test.h"
Index: dlls/shlwapi/tests/path.c
===================================================================
RCS file: /home/wine/wine/dlls/shlwapi/tests/path.c,v
retrieving revision 1.19
diff -u -r1.19 path.c
--- dlls/shlwapi/tests/path.c 22 Mar 2005 18:26:06 -0000 1.19
+++ dlls/shlwapi/tests/path.c 18 May 2005 12:03:52 -0000
@@ -18,7 +18,6 @@
*/
#include <assert.h>
-#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
Index: dlls/shlwapi/tests/shreg.c
===================================================================
RCS file: /home/wine/wine/dlls/shlwapi/tests/shreg.c,v
retrieving revision 1.26
diff -u -r1.26 shreg.c
--- dlls/shlwapi/tests/shreg.c 22 Mar 2005 18:19:42 -0000 1.26
+++ dlls/shlwapi/tests/shreg.c 18 May 2005 12:03:52 -0000
@@ -18,7 +18,6 @@
*/
#include <assert.h>
-#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
Index: dlls/shlwapi/tests/string.c
===================================================================
RCS file: /home/wine/wine/dlls/shlwapi/tests/string.c,v
retrieving revision 1.9
diff -u -r1.9 string.c
--- dlls/shlwapi/tests/string.c 25 Jan 2005 10:56:23 -0000 1.9
+++ dlls/shlwapi/tests/string.c 18 May 2005 12:03:52 -0000
@@ -17,7 +17,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <stdlib.h>
#include <stdio.h>
#define NONAMELESSUNION
Index: programs/expand/expand.c
===================================================================
RCS file: /home/wine/wine/programs/expand/expand.c,v
retrieving revision 1.2
diff -u -r1.2 expand.c
--- programs/expand/expand.c 12 Dec 2002 23:01:35 -0000 1.2
+++ programs/expand/expand.c 18 May 2005 12:03:53 -0000
@@ -17,7 +17,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <windows.h>
Index: programs/rpcss/rpcss_main.c
===================================================================
RCS file: /home/wine/wine/programs/rpcss/rpcss_main.c,v
retrieving revision 1.7
diff -u -r1.7 rpcss_main.c
--- programs/rpcss/rpcss_main.c 2 Mar 2005 12:23:21 -0000 1.7
+++ programs/rpcss/rpcss_main.c 18 May 2005 12:03:53 -0000
@@ -54,7 +54,6 @@
*/
#include <stdio.h>
-#include <stdlib.h>
#include <limits.h>
#include <assert.h>
Index: programs/uninstaller/main.c
===================================================================
RCS file: /home/wine/wine/programs/uninstaller/main.c,v
retrieving revision 1.22
diff -u -r1.22 main.c
--- programs/uninstaller/main.c 16 Mar 2005 19:48:04 -0000 1.22
+++ programs/uninstaller/main.c 18 May 2005 12:03:53 -0000
@@ -21,7 +21,6 @@
*
*/
-#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <windows.h>
Index: programs/winecfg/drive.c
===================================================================
RCS file: /home/wine/wine/programs/winecfg/drive.c,v
retrieving revision 1.26
diff -u -r1.26 drive.c
--- programs/winecfg/drive.c 4 May 2005 09:47:56 -0000 1.26
+++ programs/winecfg/drive.c 18 May 2005 12:03:53 -0000
@@ -23,7 +23,6 @@
#include <assert.h>
#include <stdarg.h>
-#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Index: programs/winemine/main.c
===================================================================
RCS file: /home/wine/wine/programs/winemine/main.c,v
retrieving revision 1.17
diff -u -r1.17 main.c
--- programs/winemine/main.c 26 Apr 2005 14:35:53 -0000 1.17
+++ programs/winemine/main.c 18 May 2005 12:03:54 -0000
@@ -18,7 +18,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <windows.h>
Index: programs/winhelp/hlp2sgml.c
===================================================================
RCS file: /home/wine/wine/programs/winhelp/hlp2sgml.c,v
retrieving revision 1.13
diff -u -r1.13 hlp2sgml.c
--- programs/winhelp/hlp2sgml.c 26 Apr 2005 14:35:53 -0000 1.13
+++ programs/winhelp/hlp2sgml.c 18 May 2005 12:03:54 -0000
@@ -17,7 +17,6 @@
*/
#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <ctype.h>
More information about the wine-patches
mailing list