diff options
Diffstat (limited to 'src/theatre_module.c')
-rw-r--r-- | src/theatre_module.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/theatre_module.c b/src/theatre_module.c new file mode 100644 index 0000000..608b356 --- /dev/null +++ b/src/theatre_module.c @@ -0,0 +1,33 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "xf86Module.h" + +static MODULESETUPPROTO(theatreSetup); + + +static XF86ModuleVersionInfo theatreVersRec = +{ + "theatre", + MODULEVENDORSTRING, + MODINFOSTRING1, + MODINFOSTRING2, + XORG_VERSION_CURRENT, + 1, 0, 0, + ABI_CLASS_VIDEODRV, /* This needs the video driver ABI */ + ABI_VIDEODRV_VERSION, + MOD_CLASS_NONE, + {0,0,0,0} +}; + +_X_EXPORT XF86ModuleData theatreModuleData = { + &theatreVersRec, + theatreSetup, + NULL +}; + +static pointer +theatreSetup(pointer module, pointer opts, int *errmaj, int *errmin) { + return (pointer)1; +} |