diff --git a/hw/xfree86/common/xf86Opt.h b/hw/xfree86/common/xf86Opt.h index fcf368823..ad366e027 100644 --- a/hw/xfree86/common/xf86Opt.h +++ b/hw/xfree86/common/xf86Opt.h @@ -102,7 +102,6 @@ extern _X_EXPORT XF86OptionPtr xf86OptionListDuplicate(XF86OptionPtr list); extern _X_EXPORT void xf86OptionListFree(XF86OptionPtr opt); extern _X_EXPORT char *xf86OptionName(XF86OptionPtr opt); extern _X_EXPORT char *xf86OptionValue(XF86OptionPtr opt); -extern _X_EXPORT void xf86OptionListReport(XF86OptionPtr parm); extern _X_EXPORT XF86OptionPtr xf86FindOption(XF86OptionPtr options, const char *name); extern _X_EXPORT const char *xf86FindOptionValue(XF86OptionPtr options, diff --git a/hw/xfree86/common/xf86Opt_priv.h b/hw/xfree86/common/xf86Opt_priv.h new file mode 100644 index 000000000..d390f776c --- /dev/null +++ b/hw/xfree86/common/xf86Opt_priv.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: MIT OR X11 + * + * Copyright © 2024 Enrico Weigelt, metux IT consult + */ +#ifndef _XORG_XF86OPTION_PRIV_H +#define _XORG_XF86OPTION_PRIV_H + +#include "xf86Opt.h" + +void xf86OptionListReport(XF86OptionPtr parm); + +#endif /* _XORG_XF86OPTION_PRIV_H */ diff --git a/hw/xfree86/common/xf86Option.c b/hw/xfree86/common/xf86Option.c index 34880a983..b5b443242 100644 --- a/hw/xfree86/common/xf86Option.c +++ b/hw/xfree86/common/xf86Option.c @@ -40,7 +40,7 @@ #include #include "os.h" #include "xf86.h" -#include "xf86Opt.h" +#include "xf86Opt_priv.h" #include "xf86Xinput.h" #include "xf86Optrec.h" #include "xf86Parser.h" diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c index cd2cd4a3d..4831e3945 100644 --- a/hw/xfree86/common/xf86Xinput.c +++ b/hw/xfree86/common/xf86Xinput.c @@ -77,6 +77,7 @@ #include "inpututils.h" #include "optionstr.h" #include "xf86Module_priv.h" +#include "xf86Opt_priv.h" #ifdef HAVE_FNMATCH_H #include