From e2413cc7cae4e578b8e9b408ea85bef596b03ea3 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 6 Feb 2007 21:07:37 -0500 Subject: [PATCH] Remove MEMDEBUG This existed (but may not have worked) in the monolith, but is gone now. --- hw/xfree86/common/xf86Events.c | 10 ---------- hw/xfree86/common/xf86Init.c | 3 --- hw/xfree86/common/xf86Priv.h | 3 --- 3 files changed, 16 deletions(-) diff --git a/hw/xfree86/common/xf86Events.c b/hw/xfree86/common/xf86Events.c index bbb5855ad..dd9c34e5c 100644 --- a/hw/xfree86/common/xf86Events.c +++ b/hw/xfree86/common/xf86Events.c @@ -764,16 +764,6 @@ xf86SigHandler(int signo) FatalError("Caught signal %d. Server aborting\n", signo); } -#ifdef MEMDEBUG -void -xf86SigMemDebug(int signo) -{ - CheckMemory(); - (void) signal(signo, xf86SigMemDebug); - return; -} -#endif - static void xf86ReleaseKeys(DeviceIntPtr pDev) { diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index 0afbe12dc..9690bc51c 100644 --- a/hw/xfree86/common/xf86Init.c +++ b/hw/xfree86/common/xf86Init.c @@ -229,9 +229,6 @@ PostConfigInit(void) #endif #ifdef SIGXFSZ signal(SIGXFSZ,xf86SigHandler); -#endif -#ifdef MEMDEBUG - signal(SIGUSR2,xf86SigMemDebug); #endif } diff --git a/hw/xfree86/common/xf86Priv.h b/hw/xfree86/common/xf86Priv.h index 59ce8da86..b6fbd3a41 100644 --- a/hw/xfree86/common/xf86Priv.h +++ b/hw/xfree86/common/xf86Priv.h @@ -174,9 +174,6 @@ void xf86PostKbdEvent(unsigned key); void xf86PostMseEvent(DeviceIntPtr device, int buttons, int dx, int dy); void xf86Wakeup(pointer blockData, int err, pointer pReadmask); void xf86SigHandler(int signo); -#ifdef MEMDEBUG -void xf86SigMemDebug(int signo); -#endif void xf86HandlePMEvents(int fd, pointer data); extern int (*xf86PMGetEventFromOs)(int fd,pmEvent *events,int num); extern pmWait (*xf86PMConfirmEventToOs)(int fd,pmEvent event);