From a58dba71bd1085973493b12d1f67a7f4085ab5b9 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 4 Jun 2025 17:06:35 +0200 Subject: [PATCH] Revert "(!1991) xfree86: xf86Option: unexport xf86MarkOptionUsedByName()" Reverting commit 63c8a689c3914039fdddb7679654e23fa742b59b on request by Nvidia (proprietary driver) Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86Opt.h | 2 ++ hw/xfree86/common/xf86Opt_priv.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/common/xf86Opt.h b/hw/xfree86/common/xf86Opt.h index d6db1c516..18cb97c97 100644 --- a/hw/xfree86/common/xf86Opt.h +++ b/hw/xfree86/common/xf86Opt.h @@ -106,6 +106,8 @@ extern _X_EXPORT XF86OptionPtr xf86FindOption(XF86OptionPtr options, const char *name); extern _X_EXPORT const char *xf86FindOptionValue(XF86OptionPtr options, const char *name); +extern _X_EXPORT void xf86MarkOptionUsedByName(XF86OptionPtr options, + const char *name); extern _X_EXPORT void xf86ShowUnusedOptions(int scrnIndex, XF86OptionPtr options); extern _X_EXPORT void xf86ProcessOptions(int scrnIndex, XF86OptionPtr options, diff --git a/hw/xfree86/common/xf86Opt_priv.h b/hw/xfree86/common/xf86Opt_priv.h index 5939824a9..221200896 100644 --- a/hw/xfree86/common/xf86Opt_priv.h +++ b/hw/xfree86/common/xf86Opt_priv.h @@ -9,6 +9,5 @@ void xf86OptionListReport(XF86OptionPtr parm); void xf86MarkOptionUsed(XF86OptionPtr option); -void xf86MarkOptionUsedByName(XF86OptionPtr options, const char *name); #endif /* _XORG_XF86OPTION_PRIV_H */