no need to check on _X_EXPORT

It's always present (in supported Xserver versions), so no need for extra check.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sis/-/merge_requests/10>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-05-22 12:23:02 +02:00
committed by Marge Bot
parent 660059cf1a
commit ea5a1710da

View File

@@ -158,10 +158,7 @@ static int pix24bpp = 0;
* an upper-case version of the driver name.
*/
#ifdef _X_EXPORT
_X_EXPORT
#endif
DriverRec SIS = {
_X_EXPORT DriverRec SIS = {
SIS_CURRENT_VERSION,
SIS_DRIVER_NAME,
SISIdentify,
@@ -241,10 +238,7 @@ static XF86ModuleVersionInfo sisVersRec =
{0,0,0,0}
};
#ifdef _X_EXPORT
_X_EXPORT
#endif
XF86ModuleData sisModuleData = { &sisVersRec, sisSetup, NULL };
_X_EXPORT XF86ModuleData sisModuleData = { &sisVersRec, sisSetup, NULL };
pointer
sisSetup(pointer module, pointer opts, int *errmaj, int *errmin)