diff options
author | Jeremy Huddleston <jeremy@yuffie.local> | 2007-12-05 21:36:34 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremy@spr-wlan-199.AirBears.Berkeley.EDU> | 2007-12-07 14:08:31 -0800 |
commit | c238ef06a270c0c1d48cdb9175b6d5815c7c2a49 (patch) | |
tree | 0be87ab572ae505f622f8fc2b09cdce53084f9c8 /hw/xquartz/darwin.h | |
parent | 8a8239f2e21795602fcff5281833b350e6b2a286 (diff) |
Darwin: Dead coded removal
Kill off assert macro
(cherry picked from commit d6493abedb2caf03b2bc3a6440b637df67eff081)
Diffstat (limited to 'hw/xquartz/darwin.h')
-rw-r--r-- | hw/xquartz/darwin.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/xquartz/darwin.h b/hw/xquartz/darwin.h index a332229be..f835ae01e 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) |