os: unexport LockServer() and UnlockServer() from public module API
These functions work on server process level, and shouldn't be touched by drivers at all, thus shouldn't be exported to them. (couldn't find any driver/module using these symbols) Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1320>
This commit is contained in:
parent
69b57fd01f
commit
4773182c72
|
@ -257,11 +257,6 @@ typedef int (*OsSigWrapperPtr) (int /* sig */ );
|
|||
extern _X_EXPORT OsSigWrapperPtr
|
||||
OsRegisterSigWrapper(OsSigWrapperPtr newWrap);
|
||||
|
||||
extern _X_EXPORT void
|
||||
LockServer(void);
|
||||
extern _X_EXPORT void
|
||||
UnlockServer(void);
|
||||
|
||||
extern _X_EXPORT Bool
|
||||
PrivsElevated(void);
|
||||
|
||||
|
|
|
@ -63,6 +63,7 @@ SOFTWARE.
|
|||
#include "dix/dix_priv.h"
|
||||
#include "os/busfault.h"
|
||||
#include "os/osdep.h"
|
||||
#include "os/serverlock.h"
|
||||
|
||||
#include "misc.h"
|
||||
#include "os.h"
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
/* SPDX-License-Identifier: MIT OR X11
|
||||
*
|
||||
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
||||
*/
|
||||
#ifndef _XSERVER_SERVERLOCK_H
|
||||
#define _XSERVER_SERVERLOCK_H
|
||||
|
||||
void LockServer(void);
|
||||
void UnlockServer(void);
|
||||
|
||||
#endif /* _XSERVER_SERVERLOCK_H */
|
|
@ -110,6 +110,7 @@ __stdcall unsigned long GetTickCount(void);
|
|||
#include "os/cmdline.h"
|
||||
#include "os/ddx_priv.h"
|
||||
#include "os/osdep.h"
|
||||
#include "os/serverlock.h"
|
||||
|
||||
#include "dixstruct.h"
|
||||
#include "xkbsrv.h"
|
||||
|
|
Loading…
Reference in New Issue