1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-05 17:28:47 +00:00

When including 'wine/port.h', include it first.

Remove redundant 'config.h' includes.
This commit is contained in:
Francois Gouget 2001-10-14 16:25:47 +00:00 committed by Alexandre Julliard
parent e5ddd26dd7
commit 386cf6e342
24 changed files with 39 additions and 38 deletions

View File

@ -12,6 +12,8 @@
* This is probably not the meaning this style has in MS-Windows.
*/
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>
#include <stdlib.h>
@ -23,7 +25,6 @@
#include "wine/winbase16.h"
#include "wine/winuser16.h"
#include "wine/unicode.h"
#include "wine/port.h"
#include "win.h"
#include "controls.h"
#include "nonclient.h"

View File

@ -6,8 +6,10 @@
*
*/
#include <string.h>
#include "wine/port.h"
#include <string.h>
#include "windef.h"
#include "winerror.h"
#include "winbase.h"

View File

@ -32,7 +32,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>

View File

@ -9,6 +9,8 @@
*
*/
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -16,7 +18,6 @@
#include "winbase.h"
#include "debugtools.h"
#include "wine/port.h"
#include "sql.h"
#include "sqltypes.h"

View File

@ -19,7 +19,7 @@
* whole stuff did not work anyway to other changes).
*/
#include "config.h"
#include "wine/port.h"
#include <string.h>
#include <sys/types.h>
@ -85,7 +85,6 @@
#include "ws2spi.h"
#include "wine/winsock16.h"
#include "winnt.h"
#include "wine/port.h"
#include "debugtools.h"

View File

@ -15,7 +15,7 @@
* ws_XXXXent32 (winsock2.h) and 1-byte forced ws_XXXXent16 (winsock16.h).
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <string.h>
@ -95,7 +95,6 @@
#include "wine/winsock16.h"
#include "winnt.h"
#include "heap.h"
#include "wine/port.h"
#include "services.h"
#include "wine/server.h"
#include "file.h"

View File

@ -10,7 +10,7 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>
@ -48,7 +48,6 @@
#include "heap.h"
#include "msdos.h"
#include "options.h"
#include "wine/port.h"
#include "task.h"
#include "debugtools.h"
#include "wine/server.h"

View File

@ -4,7 +4,6 @@
* Copyright 1996 Alexandre Julliard
*/
#include "config.h"
#include "wine/port.h"
#ifdef __BEOS__

View File

@ -9,7 +9,7 @@
* IDEA(s): could be used to split up shell32,comctl32...
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <stdio.h>
@ -21,7 +21,6 @@
#include "module.h"
#include "debugtools.h"
#include "winerror.h"
#include "wine/port.h"
DEFAULT_DEBUG_CHANNEL(win32);

View File

@ -4,13 +4,15 @@
* Copyright 1995 Alexandre Julliard
*/
#include "wine/port.h"
#include <assert.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#include "wine/port.h"
#include "wine/winbase16.h"
#include "wine/library.h"
#include "winerror.h"

View File

@ -6,14 +6,16 @@
* Copyright 1997 Alex Korobka
*/
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include "windef.h"
#include "wine/port.h"
#include "wine/winbase16.h"
#include "wine/library.h"
#include "module.h"

View File

@ -5,6 +5,8 @@
*/
/* 0xffff sometimes seems to mean: CURRENT_DS */
#include "wine/port.h"
#include <sys/types.h>
#include <stdlib.h>
#include <time.h>
@ -14,7 +16,6 @@
#include "wine/winbase16.h"
#include "wine/exception.h"
#include "wine/port.h"
#include "global.h"
#include "toolhelp.h"
#include "selectors.h"

View File

@ -4,7 +4,7 @@
* Copyright 1997 Alexandre Julliard
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <errno.h>
@ -25,7 +25,6 @@
#include "wine/exception.h"
#include "wine/unicode.h"
#include "wine/library.h"
#include "wine/port.h"
#include "winerror.h"
#include "file.h"
#include "global.h"

View File

@ -5,11 +5,12 @@
* Copyright 1997-1998 Marcus Meissner
*/
#include "wine/port.h"
#include <ctype.h>
#include <string.h>
#include <stdio.h>
#include "config.h"
#include "wine/port.h"
#include "winbase.h"
#include "winreg.h"
#include "winnt.h"

View File

@ -5,7 +5,7 @@
* Copyright 1996 Marcus Meissner
*/
#include "config.h"
#include "wine/port.h"
#include <signal.h>
#include <stdlib.h>
@ -17,7 +17,6 @@
#include "winbase.h"
#include "wine/winbase16.h"
#include "wine/port.h"
#include "global.h"
#include "selectors.h"

View File

@ -4,13 +4,13 @@
* Copyright 1995 Alexandre Julliard
*/
#include "wine/port.h"
#include <unistd.h>
#include <string.h>
#include "config.h"
#include "windef.h"
#include "wine/winbase16.h"
#include "wine/port.h"
#include "builtin16.h"
#include "miscemu.h"
#include "msdos.h"

View File

@ -4,7 +4,7 @@
* Copyright (C) 1998 Alexandre Julliard
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>
@ -30,7 +30,6 @@
#include <unistd.h>
#include <stdarg.h>
#include "wine/port.h"
#include "thread.h"
#include "wine/server.h"
#include "winerror.h"

View File

@ -4,7 +4,7 @@
* Copyright 1998 Alexandre Julliard
*/
#include "config.h"
#include "wine/port.h"
#include <signal.h>
#include <stdio.h>
@ -20,7 +20,6 @@
#ifdef HAVE_UCONTEXT_H
# include <ucontext.h>
#endif
#include "wine/port.h"
#include "thread.h"
#include "wine/server.h"
#include "winbase.h"

View File

@ -4,7 +4,7 @@
* Copyright 1996 Alexandre Julliard
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <fcntl.h>
@ -14,7 +14,6 @@
#endif
#include <unistd.h>
#include "wine/winbase16.h"
#include "wine/port.h"
#include "thread.h"
#include "task.h"
#include "module.h"

View File

@ -4,7 +4,7 @@
* Copyright (C) 1998 Alexandre Julliard
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <errno.h>
@ -32,7 +32,6 @@
#include "process.h"
#define WANT_REQUEST_HANDLERS
#include "request.h"
#include "wine/port.h"
/* Some versions of glibc don't define this */
#ifndef SCM_RIGHTS

View File

@ -8,11 +8,11 @@
* Copyright 1999 Ulrich Weigand
*/
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>
#include "config.h"
#include "wine/port.h"
#include "wine/exception.h"
#include "builtin16.h"
#include "module.h"

View File

@ -7,7 +7,7 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <unistd.h>
@ -15,7 +15,7 @@
#include <string.h>
#include <stdarg.h>
#include <time.h>
#include "wine/port.h"
#include "windef.h"
#include "winbase.h"
#include "winreg.h"

View File

@ -12,15 +12,17 @@
* classes are getting registered with wrong hInstance.
*/
#include "wine/port.h"
#include <stdlib.h>
#include <string.h>
#include "wine/winbase16.h"
#include "winerror.h"
#include "windef.h"
#include "wingdi.h"
#include "wine/winuser16.h"
#include "wine/unicode.h"
#include "wine/port.h"
#include "heap.h"
#include "win.h"
#include "user.h"

View File

@ -4,6 +4,8 @@
* Copyright 1993, 1994, 1996 Alexandre Julliard
*/
#include "wine/port.h"
#include <ctype.h>
#include <errno.h>
#include <limits.h>
@ -20,7 +22,6 @@
#include "wine/winuser16.h"
#include "wine/winbase16.h"
#include "wine/unicode.h"
#include "wine/port.h"
#include "controls.h"
#include "heap.h"
#include "win.h"