Yet more dead code.

This commit is contained in:
Adam Jackson 2006-07-21 23:39:37 -04:00
parent 7c1b2ee7a8
commit 70869fc677
4 changed files with 0 additions and 35 deletions

View File

@ -164,9 +164,6 @@ void xf86EnablePciBusMaster(pciVideoPtr pPci, Bool enable);
#endif #endif
void xf86RegisterStateChangeNotificationCallback(xf86StateChangeNotificationCallbackFunc func, pointer arg); void xf86RegisterStateChangeNotificationCallback(xf86StateChangeNotificationCallbackFunc func, pointer arg);
Bool xf86DeregisterStateChangeNotificationCallback(xf86StateChangeNotificationCallbackFunc func); Bool xf86DeregisterStateChangeNotificationCallback(xf86StateChangeNotificationCallbackFunc func);
#ifdef async
Bool xf86QueueAsyncEvent(void (*func)(pointer),pointer arg);
#endif
int xf86GetLastScrnFlag(int entityIndex); int xf86GetLastScrnFlag(int entityIndex);
void xf86SetLastScrnFlag(int entityIndex, int scrnIndex); void xf86SetLastScrnFlag(int entityIndex, int scrnIndex);

View File

@ -3120,23 +3120,6 @@ notifyStateChange(xf86NotifyState state)
} }
} }
#ifdef async
_X_EXPORT Bool
xf86QueueAsyncEvent(void (*func)(pointer),pointer arg)
{
AsyncQPtr new;
if (!AsyncQ) return FALSE;
new = (AsyncQPtr)xfnalloc(sizeof(AsyncQRec));
new->func = func;
new->arg = arg;
(*AsyncQPtr)->next = new;
AsyncQPtr = &new;
return TRUE;
}
#endif
/* Multihead accel sharing accessor functions and entity Private handling */ /* Multihead accel sharing accessor functions and entity Private handling */
_X_EXPORT int _X_EXPORT int

View File

@ -74,15 +74,6 @@ typedef struct {
IOADDRESS domainIO; IOADDRESS domainIO;
} EntityRec, *EntityPtr; } EntityRec, *EntityPtr;
/* asynchronous event handling */
#ifdef async
typedef struct _AsyncQRec {
void (*func)(pointer);
pointer arg;
struct _AsyncQRec *next;
} AsyncQRec, *AsyncQPtr;
#endif
#define NO_SEPARATE_IO_FROM_MEM 0x0001 #define NO_SEPARATE_IO_FROM_MEM 0x0001
#define NO_SEPARATE_MEM_FROM_IO 0x0002 #define NO_SEPARATE_MEM_FROM_IO 0x0002
#define NEED_VGA_ROUTED 0x0004 #define NEED_VGA_ROUTED 0x0004

View File

@ -356,9 +356,6 @@ _X_HIDDEN void *xfree86LookupTab[] = {
SYMFUNC(xf86RegisterStateChangeNotificationCallback) SYMFUNC(xf86RegisterStateChangeNotificationCallback)
SYMFUNC(xf86DeregisterStateChangeNotificationCallback) SYMFUNC(xf86DeregisterStateChangeNotificationCallback)
SYMFUNC(xf86NoSharedResources) SYMFUNC(xf86NoSharedResources)
#ifdef async
SYMFUNC(xf86QueueAsyncEvent)
#endif
/* Shared Accel Accessor Functions */ /* Shared Accel Accessor Functions */
SYMFUNC(xf86GetLastScrnFlag) SYMFUNC(xf86GetLastScrnFlag)
SYMFUNC(xf86SetLastScrnFlag) SYMFUNC(xf86SetLastScrnFlag)
@ -1146,9 +1143,6 @@ _X_HIDDEN void *xfree86LookupTab[] = {
SYMVAR(xf86DummyVar3) SYMVAR(xf86DummyVar3)
#endif #endif
#ifdef async
SYMVAR(xf86CurrentScreen)
#endif
/* predefined resource lists from xf86Bus.h */ /* predefined resource lists from xf86Bus.h */
SYMVAR(resVgaExclusive) SYMVAR(resVgaExclusive)
SYMVAR(resVgaShared) SYMVAR(resVgaShared)