diff options
Diffstat (limited to 'xorg-server/hw/xwin/winallpriv.c')
-rw-r--r-- | xorg-server/hw/xwin/winallpriv.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/xorg-server/hw/xwin/winallpriv.c b/xorg-server/hw/xwin/winallpriv.c index 629af92c9..0bbac20cd 100644 --- a/xorg-server/hw/xwin/winallpriv.c +++ b/xorg-server/hw/xwin/winallpriv.c @@ -47,10 +47,8 @@ winAllocatePrivates(ScreenPtr pScreen) { winPrivScreenPtr pScreenPriv; -#if CYGDEBUG winDebug("winAllocateScreenPrivates - g_ulServerGeneration: %d " "serverGeneration: %d\n", g_ulServerGeneration, serverGeneration); -#endif /* We need a new slot for our privates if the screen gen has changed */ if (g_ulServerGeneration != serverGeneration) { @@ -72,7 +70,7 @@ winAllocatePrivates(ScreenPtr pScreen) /* Register our screen private */ if (!dixRegisterPrivateKey(g_iScreenPrivateKey, PRIVATE_SCREEN, 0)) { - ErrorF("winAllocatePrivates - AllocateScreenPrivate () failed\n"); + ErrorF ("winAllocatePrivates - dixRegisterPrivateKey () failed\n"); return FALSE; } @@ -112,9 +110,7 @@ winAllocatePrivates(ScreenPtr pScreen) Bool winInitCmapPrivates(ColormapPtr pcmap, int i) { -#if CYGDEBUG winDebug("winInitCmapPrivates\n"); -#endif /* * I see no way that this function can do anything useful @@ -139,9 +135,7 @@ winAllocateCmapPrivates(ColormapPtr pCmap) winPrivCmapPtr pCmapPriv; static unsigned long s_ulPrivateGeneration = 0; -#if CYGDEBUG winDebug("winAllocateCmapPrivates\n"); -#endif /* Get a new privates index when the server generation changes */ if (s_ulPrivateGeneration != serverGeneration) { @@ -168,9 +162,7 @@ winAllocateCmapPrivates(ColormapPtr pCmap) /* Save the cmap private pointer */ winSetCmapPriv(pCmap, pCmapPriv); -#if CYGDEBUG winDebug("winAllocateCmapPrivates - Returning\n"); -#endif return TRUE; } |