mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-13 21:02:13 +00:00
os: unexport ForceClockId()
This function is only intended for DDX'es (currently just Xwayland) that need to force using another clock. Really shouldn't be called by drivers or extensions. Fixes:a779fda224Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1333> (cherry picked from commitc17c527b9a)
This commit is contained in:
committed by
Alan Coopersmith
parent
054111bb2f
commit
6738683d6d
@@ -45,6 +45,8 @@
|
||||
#include <propertyst.h>
|
||||
#include <version-config.h>
|
||||
|
||||
#include "os/osdep.h"
|
||||
|
||||
#include "xwayland-screen.h"
|
||||
#include "xwayland-vidmode.h"
|
||||
|
||||
|
||||
@@ -158,10 +158,6 @@ extern _X_EXPORT void ListenOnOpenFD(int /* fd */ , int /* noxauth */ );
|
||||
|
||||
extern _X_EXPORT Bool AddClientOnOpenFD(int /* fd */ );
|
||||
|
||||
#ifdef MONOTONIC_CLOCK
|
||||
extern void ForceClockId(clockid_t /* forced_clockid */);
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT CARD32 GetTimeInMillis(void);
|
||||
extern _X_EXPORT CARD64 GetTimeInMicros(void);
|
||||
|
||||
|
||||
@@ -249,4 +249,7 @@ int OnlyListenToOneClient(ClientPtr client);
|
||||
|
||||
void ListenToAllClients(void);
|
||||
|
||||
/* allow DDX to force using another clock */
|
||||
void ForceClockId(clockid_t forced_clockid);
|
||||
|
||||
#endif /* _OSDEP_H_ */
|
||||
|
||||
Reference in New Issue
Block a user