dix: unexport dixLookupProperty()

It's not used by any drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1340>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-05-13 17:43:01 +02:00 committed by Marge Bot
parent 955cc5417b
commit fb697dd644
5 changed files with 10 additions and 6 deletions

View File

@ -22,6 +22,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#endif #endif
#include "dix/dix_priv.h" #include "dix/dix_priv.h"
#include "dix/property_priv.h"
#include "selection.h" #include "selection.h"
#include "inputstr.h" #include "inputstr.h"

View File

@ -51,6 +51,9 @@ SOFTWARE.
#ifndef _XSERVER_PROPERTY_PRIV_H #ifndef _XSERVER_PROPERTY_PRIV_H
#define _XSERVER_PROPERTY_PRIV_H #define _XSERVER_PROPERTY_PRIV_H
#include <X11/X.h>
#include "dix.h"
#include "window.h" #include "window.h"
#include "property.h" #include "property.h"
@ -62,4 +65,7 @@ typedef struct _PropertyStateRec {
extern CallbackListPtr PropertyStateCallback; extern CallbackListPtr PropertyStateCallback;
int dixLookupProperty(PropertyPtr *result, WindowPtr pWin, Atom proprty,
ClientPtr pClient, Mask access_mode);
#endif /* _XSERVER_PROPERTY_PRIV_H */ #endif /* _XSERVER_PROPERTY_PRIV_H */

View File

@ -36,6 +36,8 @@
#include <errno.h> #include <errno.h>
#include "dix/property_priv.h"
#include "quartz.h" #include "quartz.h"
#include "misc.h" #include "misc.h"

View File

@ -35,6 +35,7 @@
#include <X11/Xatom.h> #include <X11/Xatom.h>
#include "dix/dix_priv.h" #include "dix/dix_priv.h"
#include "dix/property_priv.h"
#include "compositeext.h" #include "compositeext.h"
#include "compint.h" #include "compint.h"

View File

@ -51,12 +51,6 @@ SOFTWARE.
typedef struct _Property *PropertyPtr; typedef struct _Property *PropertyPtr;
extern _X_EXPORT int dixLookupProperty(PropertyPtr * /*result */ ,
WindowPtr /*pWin */ ,
Atom /*proprty */ ,
ClientPtr /*pClient */ ,
Mask /*access_mode */ );
extern _X_EXPORT int dixChangeWindowProperty(ClientPtr pClient, extern _X_EXPORT int dixChangeWindowProperty(ClientPtr pClient,
WindowPtr pWin, WindowPtr pWin,
Atom property, Atom property,