diff --git a/misc/main.c b/misc/main.c index c6d4e00662..90998ea956 100644 --- a/misc/main.c +++ b/misc/main.c @@ -11,172 +11,22 @@ #include #include #include +#include +#include #include #include "windef.h" #include "winbase.h" +#include "wine/winbase16.h" #include "ntddk.h" #include "winnls.h" #include "winerror.h" - -#include "winsock.h" -#include "heap.h" -#include "msdos.h" #include "options.h" #include "debugtools.h" -#include "module.h" -#include "tweak.h" DECLARE_DEBUG_CHANNEL(file); -#if 0 -/*********************************************************************** - * MAIN_ParseDebugOptions - * - * Turns specific debug messages on or off, according to "options". - */ -void MAIN_ParseDebugOptions( const char *arg ) -{ - /* defined in relay32/relay386.c */ - extern char **debug_relay_includelist; - extern char **debug_relay_excludelist; - /* defined in relay32/snoop.c */ - extern char **debug_snoop_includelist; - extern char **debug_snoop_excludelist; - - int i; - int l, cls; - - char *options = strdup(arg); - - l = strlen(options); - if (l<2) goto error; - - if (options[l-1]=='\n') options[l-1]='\0'; - do - { - if ((*options!='+')&&(*options!='-')){ - int j; - - for(j=0; j