From e523724d5e09b9dcbb2c98c68bbcd00a42d4bd3c Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 20 Jun 2025 14:50:24 +0200 Subject: [PATCH] xfree86: export xf86ModeStatusToString() but keep it internal Needed by the int10 module, so has to be in the symbol table. But still not supposed to be used by out-of-tree drivers. Reported-by: stefan11111 Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86_priv.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xfree86/common/xf86_priv.h b/hw/xfree86/common/xf86_priv.h index d3b8e7cb4..36c0633fe 100644 --- a/hw/xfree86/common/xf86_priv.h +++ b/hw/xfree86/common/xf86_priv.h @@ -79,7 +79,9 @@ Bool xf86LoadModules(const char **list, void **optlist); Bool xf86HasTTYs(void); /* xf86Mode.c */ +_X_EXPORT /* only for int10 module, not supposed to be used by OOT modules */ const char * xf86ModeStatusToString(ModeStatus status); + ModeStatus xf86CheckModeForDriver(ScrnInfoPtr scrp, DisplayModePtr mode, int flags); /* xf86DefaultModes (auto-generated) */