diff options
author | Adam Jackson <ajax@redhat.com> | 2009-05-27 17:13:19 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-05-27 17:13:19 -0400 |
commit | 2107becb0ce2ffda001be65728c53563496d8d50 (patch) | |
tree | a7cae86b1a91c1045e59383a08c9583da09538a6 | |
parent | e08c6a0752772745f35f7afcf6c2b1c927b91cc0 (diff) |
xfree86: Remove unused (and useless) xf86{Add,Delete}ModuleInfo
-rw-r--r-- | hw/xfree86/common/xf86.h | 3 | ||||
-rw-r--r-- | hw/xfree86/common/xf86Helper.c | 11 | ||||
-rw-r--r-- | hw/xfree86/common/xf86str.h | 15 |
3 files changed, 0 insertions, 29 deletions
diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 0c0320fda..cb05cb36b 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -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); diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c index 441efb098..37802d61a 100644 --- a/hw/xfree86/common/xf86Helper.c +++ b/hw/xfree86/common/xf86Helper.c @@ -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 diff --git a/hw/xfree86/common/xf86str.h b/hw/xfree86/common/xf86str.h index 904c369a6..3b1346f05 100644 --- a/hw/xfree86/common/xf86str.h +++ b/hw/xfree86/common/xf86str.h @@ -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 |