Commit 0c15360a authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Removes all unnecessary WINE_DEFAULT_DEBUG_CHANNEL and respective wine/debug.h includes.

parent 08e12600
...@@ -64,8 +64,6 @@ There is still some work to be done: ...@@ -64,8 +64,6 @@ There is still some work to be done:
if (B) SetLastError(B); } while(0) if (B) SetLastError(B); } while(0)
WINE_DEFAULT_DEBUG_CHANNEL(cabinet);
typedef struct { typedef struct {
cab_UBYTE signature[4]; /* !CAB for unfinished cabinets else MSCF */ cab_UBYTE signature[4]; /* !CAB for unfinished cabinets else MSCF */
cab_ULONG reserved1; cab_ULONG reserved1;
......
...@@ -55,11 +55,11 @@ BOOL BIDI_Reorder( ...@@ -55,11 +55,11 @@ BOOL BIDI_Reorder(
UINT *lpOrder /* [out] Logical -> Visual order map */ UINT *lpOrder /* [out] Logical -> Visual order map */
) )
{ {
#ifdef HAVE_ICU
TRACE("%s, %d, 0x%08lx lpOutString=%p, lpOrder=%p\n", TRACE("%s, %d, 0x%08lx lpOutString=%p, lpOrder=%p\n",
debugstr_wn(lpString, uCount), uCount, dwFlags, debugstr_wn(lpString, uCount), uCount, dwFlags,
lpOutString, lpOrder); lpOutString, lpOrder);
#ifdef HAVE_ICU
if ((dwFlags & GCP_REORDER) != 0) { if ((dwFlags & GCP_REORDER) != 0) {
UBiDi *bidi; UBiDi *bidi;
UErrorCode err=0; UErrorCode err=0;
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
#include "enhmetafiledrv.h" #include "enhmetafiledrv.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(enhmetafile);
BOOL EMFDRV_PatBlt( PHYSDEV dev, INT left, INT top, BOOL EMFDRV_PatBlt( PHYSDEV dev, INT left, INT top,
INT width, INT height, DWORD rop ) INT width, INT height, DWORD rop )
{ {
......
...@@ -38,8 +38,6 @@ ...@@ -38,8 +38,6 @@
#include "wine/debug.h" #include "wine/debug.h"
#include "resource.h" #include "resource.h"
WINE_DEFAULT_DEBUG_CHANNEL(twain);
static HBITMAP static_bitmap; static HBITMAP static_bitmap;
static INT_PTR CALLBACK ConnectingProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) static INT_PTR CALLBACK ConnectingProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#include "winerror.h" #include "winerror.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
/**********************************************************************/ /**********************************************************************/
HANDLE IMAGEHLP_hHeap = NULL; HANDLE IMAGEHLP_hHeap = NULL;
......
...@@ -38,10 +38,6 @@ ...@@ -38,10 +38,6 @@
#include "wine/unicode.h" #include "wine/unicode.h"
#include "kernel_private.h" #include "kernel_private.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(atom);
#define MAX_ATOM_LEN 255 #define MAX_ATOM_LEN 255
/****************************************************************** /******************************************************************
......
...@@ -28,9 +28,6 @@ ...@@ -28,9 +28,6 @@
#include "toolhelp.h" #include "toolhelp.h"
#include "kernel_private.h" #include "kernel_private.h"
#include "kernel16_private.h" #include "kernel16_private.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(kernel);
/************************************************************************** /**************************************************************************
* DllEntryPoint (KERNEL.669) * DllEntryPoint (KERNEL.669)
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
*/ */
#include "config.h" #include "config.h"
#include "wine/debug.h"
#include <stdarg.h> #include <stdarg.h>
...@@ -34,8 +33,6 @@ ...@@ -34,8 +33,6 @@
#include "mscms_priv.h" #include "mscms_priv.h"
WINE_DEFAULT_DEBUG_CHANNEL(mscms);
#ifdef HAVE_LCMS #ifdef HAVE_LCMS
static inline void MSCMS_adjust_endianess32( ULONG *ptr ) static inline void MSCMS_adjust_endianess32( ULONG *ptr )
......
...@@ -22,13 +22,10 @@ ...@@ -22,13 +22,10 @@
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "wine/debug.h"
#include "wine/unicode.h" #include "wine/unicode.h"
#include "query.h" #include "query.h"
#include "sql.tab.h" #include "sql.tab.h"
WINE_DEFAULT_DEBUG_CHANNEL(msi);
/* /*
** All the keywords of the SQL language are stored as in a hash ** All the keywords of the SQL language are stored as in a hash
** table composed of instances of the following structure. ** table composed of instances of the following structure.
......
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
#include "msvcrt.h" #include "msvcrt.h"
#include "winnls.h" #include "winnls.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
/* Some abbreviations to make the following table readable */ /* Some abbreviations to make the following table readable */
#define _C_ MSVCRT__CONTROL #define _C_ MSVCRT__CONTROL
......
...@@ -26,9 +26,6 @@ ...@@ -26,9 +26,6 @@
#include "lmcons.h" #include "lmcons.h"
#include "lmbrowsr.h" #include "lmbrowsr.h"
#include "lmshare.h" #include "lmshare.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
/************************************************************ /************************************************************
* I_BrowserSetNetlogonState (NETAPI32.@) * I_BrowserSetNetlogonState (NETAPI32.@)
......
...@@ -21,12 +21,9 @@ ...@@ -21,12 +21,9 @@
#include "config.h" #include "config.h"
#include "wine/port.h" #include "wine/port.h"
#include "wine/debug.h"
#include "nbnamecache.h" #include "nbnamecache.h"
WINE_DEFAULT_DEBUG_CHANNEL(netbios);
typedef struct _NBNameCacheNode typedef struct _NBNameCacheNode
{ {
DWORD expireTime; DWORD expireTime;
......
...@@ -32,10 +32,6 @@ ...@@ -32,10 +32,6 @@
#include "windef.h" #include "windef.h"
#include "winternl.h" #include "winternl.h"
#include "wine/unicode.h" #include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(ntdll);
/********************************************************************* /*********************************************************************
* _wcsicmp (NTDLL.@) * _wcsicmp (NTDLL.@)
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include "wine/port.h" #include "wine/port.h"
#include "wine/library.h" #include "wine/library.h"
#include "wine/debug.h"
#include "windef.h" #include "windef.h"
#include "wincrypt.h" #include "wincrypt.h"
...@@ -33,8 +32,6 @@ ...@@ -33,8 +32,6 @@
#include <stdio.h> #include <stdio.h>
WINE_DEFAULT_DEBUG_CHANNEL(crypt);
/* Function prototypes copied from dlls/advapi32/crypt_md4.c */ /* Function prototypes copied from dlls/advapi32/crypt_md4.c */
VOID WINAPI MD4Init( MD4_CTX *ctx ); VOID WINAPI MD4Init( MD4_CTX *ctx );
VOID WINAPI MD4Update( MD4_CTX *ctx, const unsigned char *buf, unsigned int len ); VOID WINAPI MD4Update( MD4_CTX *ctx, const unsigned char *buf, unsigned int len );
......
...@@ -23,11 +23,9 @@ ...@@ -23,11 +23,9 @@
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "winuser.h" #include "winuser.h"
#include "user_private.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(user); #include "user_private.h"
static const USER_DRIVER null_driver, lazy_load_driver; static const USER_DRIVER null_driver, lazy_load_driver;
......
...@@ -38,10 +38,6 @@ ...@@ -38,10 +38,6 @@
#include "wine/unicode.h" #include "wine/unicode.h"
#include "excpt.h" #include "excpt.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(resource);
/*********************************************************************** /***********************************************************************
* CharNextA (USER32.@) * CharNextA (USER32.@)
......
...@@ -29,10 +29,6 @@ ...@@ -29,10 +29,6 @@
#define TMT_ENUM 200 #define TMT_ENUM 200
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
typedef struct _MSSTYLES_PROPERTY_MAP { typedef struct _MSSTYLES_PROPERTY_MAP {
WORD dwPrimitiveType; WORD dwPrimitiveType;
WORD dwPropertyID; WORD dwPropertyID;
......
...@@ -22,9 +22,6 @@ ...@@ -22,9 +22,6 @@
#include <string.h> #include <string.h>
#include "psdrv.h" #include "psdrv.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(psdrv);
DWORD RLE_encode(BYTE *in_buf, DWORD len, BYTE *out_buf) DWORD RLE_encode(BYTE *in_buf, DWORD len, BYTE *out_buf)
{ {
......
...@@ -23,9 +23,6 @@ ...@@ -23,9 +23,6 @@
#include <stdio.h> #include <stdio.h>
#include "x11drv.h" #include "x11drv.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(x11drv);
/*********************************************************************** /***********************************************************************
* X11DRV_GetRegionData * X11DRV_GetRegionData
......
...@@ -27,9 +27,6 @@ ...@@ -27,9 +27,6 @@
#include "winbase.h" #include "winbase.h"
#include "winnls.h" #include "winnls.h"
#include "x11font.h" #include "x11font.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(text);
/*********************************************************************** /***********************************************************************
* IsLegalDBCSChar for cp932/936/949/950/euc * IsLegalDBCSChar for cp932/936/949/950/euc
......
...@@ -28,9 +28,7 @@ ...@@ -28,9 +28,7 @@
#include "wingdi.h" #include "wingdi.h"
#include "winspool.h" #include "winspool.h"
#include "wspool.h" #include "wspool.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(winspool);
HINSTANCE WINSPOOL_hInstance = NULL; HINSTANCE WINSPOOL_hInstance = NULL;
/****************************************************************************** /******************************************************************************
......
...@@ -38,9 +38,6 @@ ...@@ -38,9 +38,6 @@
#include "winsock2.h" #include "winsock2.h"
#include "wine/unicode.h" #include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(winsock);
/***************************************************************************** /*****************************************************************************
* inet_network [WSOCK32.1100] * inet_network [WSOCK32.1100]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment