xserver: Branch 'xorg-server-1.2-apple'

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Wed Dec 5 21:39:02 PST 2007


 hw/xquartz/darwin.h |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit d6493abedb2caf03b2bc3a6440b637df67eff081
Author: Jeremy Huddleston <jeremy at yuffie.local>
Date:   Wed Dec 5 21:36:34 2007 -0800

    Darwin: Dead coded removal
    Kill off assert macro

diff --git a/hw/xquartz/darwin.h b/hw/xquartz/darwin.h
index 80be16f..2b9e592 100644
--- a/hw/xquartz/darwin.h
+++ b/hw/xquartz/darwin.h
@@ -52,12 +52,6 @@ int DarwinParseModifierList(const char *constmodifiers);
 void DarwinAdjustScreenOrigins(ScreenInfo *pScreenInfo);
 void xf86SetRootClip (ScreenPtr pScreen, BOOL enable);
 
-#undef assert
-#define assert(x) { if ((x) == 0) \
-    FatalError("assert failed on line %d of %s!\n", __LINE__, __FILE__); }
-#define kern_assert(x) { if ((x) != KERN_SUCCESS) \
-    FatalError("assert failed on line %d of %s with kernel return 0x%x!\n", \
-                __LINE__, __FILE__, x); }
 #define SCREEN_PRIV(pScreen) \
     ((DarwinFramebufferPtr)pScreen->devPrivates[darwinScreenIndex].ptr)
 


More information about the xorg-commit mailing list