mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 17:20:32 +01: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:
parent
054111bb2f
commit
6738683d6d
3 changed files with 5 additions and 4 deletions
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue