xfree86: xf86.h: make xf86DoShowOptions field static

Only used inside xf86Init, so can be made static.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-20 19:33:48 +02:00
parent 83ed3e12c4
commit e2f78e688a
3 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,6 @@
/* General parameters */
extern _X_EXPORT int xf86DoConfigure;
extern _X_EXPORT int xf86DoShowOptions;
extern _X_EXPORT Bool xf86DoConfigurePass1;
extern _X_EXPORT Bool xf86ProbeIgnorePrimary;
extern _X_EXPORT Bool xorgHWAccess;

View File

@ -148,7 +148,6 @@ Bool xf86Resetting = FALSE;
Bool xf86Initialising = FALSE;
Bool xf86DoConfigure = FALSE;
Bool xf86ProbeIgnorePrimary = FALSE;
Bool xf86DoShowOptions = FALSE;
DriverPtr *xf86DriverList = NULL;
int xf86NumDrivers = 0;
InputDriverPtr *xf86InputDriverList = NULL;

View File

@ -98,6 +98,8 @@
#include <sys/sysmacros.h>
#endif
Bool xf86DoShowOptions = FALSE;
void (*xf86OSPMClose) (void) = NULL;
static Bool xorgHWOpenConsole = FALSE;