mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
dix: unexport internal region helper functions
Not used by any drivers. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
61aa2ede91
commit
2f000bb6c3
@@ -91,6 +91,7 @@ Equipment Corporation.
|
||||
#include "dix/dix_priv.h"
|
||||
#include "dix/input_priv.h"
|
||||
#include "dix/gc_priv.h"
|
||||
#include "dix/region_priv.h"
|
||||
#include "dix/registry_priv.h"
|
||||
#include "dix/screensaver_priv.h"
|
||||
#include "dix/selection_priv.h"
|
||||
|
||||
@@ -77,11 +77,13 @@ Equipment Corporation.
|
||||
|
||||
#include <dix-config.h>
|
||||
|
||||
#include "regionstr.h"
|
||||
#include <pixman.h>
|
||||
#include <X11/Xprotostr.h>
|
||||
#include <X11/Xfuncproto.h>
|
||||
|
||||
#include "dix/region_priv.h"
|
||||
|
||||
#include "gc.h"
|
||||
#include <pixman.h>
|
||||
|
||||
#undef assert
|
||||
#ifdef REGION_DEBUG
|
||||
|
||||
15
dix/region_priv.h
Normal file
15
dix/region_priv.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/* SPDX-License-Identifier: MIT OR X11
|
||||
*
|
||||
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
||||
*/
|
||||
#ifndef _XSERVER_DIX_REGION_PRIV_H
|
||||
#define _XSERVER_DIX_REGION_PRIV_H
|
||||
|
||||
#include "include/regionstr.h"
|
||||
|
||||
void InitRegions(void);
|
||||
Bool RegionRectAlloc(RegionPtr pRgn, int n);
|
||||
Bool RegionIsValid(RegionPtr prgn);
|
||||
void RegionPrint(RegionPtr pReg);
|
||||
|
||||
#endif /* _XSERVER_DIX_REGION_PRIV_H */
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "dix/region_priv.h"
|
||||
#include "fb/fb_priv.h"
|
||||
|
||||
#ifdef FB_DEBUG
|
||||
|
||||
@@ -211,8 +211,6 @@ RegionNull(RegionPtr _pReg)
|
||||
(_pReg)->data = &RegionEmptyData;
|
||||
}
|
||||
|
||||
extern _X_EXPORT void InitRegions(void);
|
||||
|
||||
extern _X_EXPORT RegionPtr RegionCreate(BoxPtr /*rect */ ,
|
||||
int /*size */ );
|
||||
|
||||
@@ -328,17 +326,6 @@ RegionEqual(RegionPtr reg1, RegionPtr reg2)
|
||||
return pixman_region_equal(reg1, reg2);
|
||||
}
|
||||
|
||||
extern _X_EXPORT Bool RegionRectAlloc(RegionPtr /*pRgn */ ,
|
||||
int /*n */
|
||||
);
|
||||
|
||||
#ifdef DEBUG
|
||||
extern _X_EXPORT Bool RegionIsValid(RegionPtr /*prgn */
|
||||
);
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT void RegionPrint(RegionPtr /*pReg */ );
|
||||
|
||||
#define INCLUDE_LEGACY_REGION_DEFINES
|
||||
#ifdef INCLUDE_LEGACY_REGION_DEFINES
|
||||
|
||||
|
||||
Reference in New Issue
Block a user