From d71ba527836f0d302798d2c415555c601b5c5116 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 21 May 2025 12:29:54 +0200 Subject: [PATCH] config xf86PathIsSafe --- hw/xfree86/common/xf86Config.h | 2 ++ hw/xfree86/common/xf86Priv.h | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/hw/xfree86/common/xf86Config.h b/hw/xfree86/common/xf86Config.h index 8dcd05a80..aa0af4c22 100644 --- a/hw/xfree86/common/xf86Config.h +++ b/hw/xfree86/common/xf86Config.h @@ -74,4 +74,6 @@ extern confDRIRec xf86ConfigDRI; extern const char *xf86ConfigFile; extern const char *xf86ConfigDir; +Bool xf86PathIsSafe(const char *path); + #endif /* _xf86_config_h */ diff --git a/hw/xfree86/common/xf86Priv.h b/hw/xfree86/common/xf86Priv.h index ae62b9e70..49d38d662 100644 --- a/hw/xfree86/common/xf86Priv.h +++ b/hw/xfree86/common/xf86Priv.h @@ -55,10 +55,6 @@ extern _X_EXPORT int xf86DRMMasterFd; /* Command line argument for /* xf86Bus.c */ extern _X_EXPORT void xf86BusProbe(void); -/* xf86Config.c */ - -extern _X_EXPORT Bool xf86PathIsSafe(const char *path); - /* xf86DefaultModes */ extern _X_EXPORT const DisplayModeRec xf86DefaultModes[];