e03198972c
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
/* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_32bpp/cfb8_32module.c,v 1.5 1999/01/24 13:32:42 dawes Exp $ */
|
|
|
|
|
|
#ifdef HAVE_XORG_CONFIG_H
|
|
#include <xorg-config.h>
|
|
#endif
|
|
|
|
#ifdef XFree86LOADER
|
|
|
|
#include "xf86Module.h"
|
|
|
|
static MODULESETUPPROTO(xf8_32bppSetup);
|
|
|
|
static XF86ModuleVersionInfo VersRec =
|
|
{
|
|
"xf8_32bpp",
|
|
MODULEVENDORSTRING,
|
|
MODINFOSTRING1,
|
|
MODINFOSTRING2,
|
|
XORG_VERSION_CURRENT,
|
|
1, 0, 0,
|
|
ABI_CLASS_ANSIC, /* Only need the ansic layer */
|
|
ABI_ANSIC_VERSION,
|
|
MOD_CLASS_NONE,
|
|
{0,0,0,0} /* signature, to be patched into the file by a tool */
|
|
};
|
|
|
|
XF86ModuleData xf8_32bppModuleData = { &VersRec, xf8_32bppSetup, NULL };
|
|
|
|
static pointer
|
|
xf8_32bppSetup(pointer module, pointer opts, int *errmaj, int *errmin)
|
|
{
|
|
if (!LoadSubModule(module, "cfb", NULL, NULL, NULL, NULL,
|
|
errmaj, errmin))
|
|
return NULL;
|
|
if (!LoadSubModule(module, "cfb32", NULL, NULL, NULL, NULL,
|
|
errmaj, errmin))
|
|
return NULL;
|
|
return (pointer)1; /* non-NULL required to indicate success */
|
|
}
|
|
|
|
#endif
|