xfree86: Remove unused (and useless) xf86{Add,Delete}ModuleInfo
This commit is contained in:
parent
e08c6a0752
commit
2107becb0c
|
@ -315,9 +315,6 @@ extern _X_EXPORT int xf86RegisterRootWindowProperty(int ScrnIndex, Atom propert
|
|||
pointer value);
|
||||
extern _X_EXPORT Bool xf86IsUnblank(int mode);
|
||||
|
||||
extern _X_EXPORT _X_DEPRECATED void xf86AddModuleInfo(pointer info, pointer module);
|
||||
extern _X_EXPORT _X_DEPRECATED void xf86DeleteModuleInfo(int idx);
|
||||
|
||||
/* xf86Init.c */
|
||||
|
||||
extern _X_EXPORT PixmapFormatPtr xf86GetPixFormat(ScrnInfoPtr pScrn, int depth);
|
||||
|
|
|
@ -169,17 +169,6 @@ xf86LookupInput(const char *name)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/* ABI stubs of despair */
|
||||
void
|
||||
xf86AddModuleInfo(pointer info, pointer module)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
xf86DeleteModuleInfo(int idx)
|
||||
{
|
||||
}
|
||||
|
||||
/* Allocate a new ScrnInfoRec in xf86Screens */
|
||||
|
||||
ScrnInfoPtr
|
||||
|
|
|
@ -342,21 +342,6 @@ typedef struct _DriverRec {
|
|||
*/
|
||||
#define HaveDriverFuncs 1
|
||||
|
||||
|
||||
/*
|
||||
* The optional module list struct. This allows modules exporting helping
|
||||
* functions to configuration tools, the Xserver, or any other
|
||||
* application/module interested in such information.
|
||||
*/
|
||||
_X_DEPRECATED typedef struct _ModuleInfoRec {
|
||||
int moduleVersion;
|
||||
char * moduleName;
|
||||
pointer module;
|
||||
int refCount;
|
||||
const OptionInfoRec * (*AvailableOptions)(void *unused);
|
||||
pointer unused[8]; /* leave some space for more fields */
|
||||
} ModuleInfoRec, *ModuleInfoPtr;
|
||||
|
||||
/*
|
||||
* These are the private bus types. New types can be added here. Types
|
||||
* required for the public interface should be added to xf86str.h, with
|
||||
|
|
Loading…
Reference in New Issue
Block a user