dix: unexport ResizeVisualArray()

Not used by any drivers, and shouldn't be used by them.
Needs to _X_EXPORT'ed, as long as glx is a separate module.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-03-04 17:27:28 +01:00
parent b04aeed760
commit 14e0b1715b
3 changed files with 7 additions and 5 deletions

View File

@ -108,4 +108,7 @@ int StoreColors(ColormapPtr pmap, int count, xColorItem * defs, ClientPtr client
int IsMapInstalled(Colormap map, WindowPtr pWin); int IsMapInstalled(Colormap map, WindowPtr pWin);
/* only exported for glx, but should not be used by external drivers */
_X_EXPORT Bool ResizeVisualArray(ScreenPtr pScreen, int new_vis_count, DepthPtr depth);
#endif /* _XSERVER_DIX_COLORMAP_PRIV_H */ #endif /* _XSERVER_DIX_COLORMAP_PRIV_H */

View File

@ -32,8 +32,11 @@
#include "dix/screen_hooks_priv.h" #include "dix/screen_hooks_priv.h"
#include <GL/glxtokens.h>
#include <string.h> #include <string.h>
#include <GL/glxtokens.h>
#include "dix/colormap_priv.h"
#include <windowstr.h> #include <windowstr.h>
#include <os.h> #include <os.h>

View File

@ -55,8 +55,4 @@ SOFTWARE.
typedef CARD32 Pixel; typedef CARD32 Pixel;
extern _X_EXPORT Bool ResizeVisualArray(ScreenPtr /* pScreen */ ,
int /* new_vis_count */ ,
DepthPtr /* depth */ );
#endif /* CMAP_H */ #endif /* CMAP_H */