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: a779fda224
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1333>
This commit is contained in:
parent
41c3155fdf
commit
c17c527b9a
|
@ -155,10 +155,6 @@ extern _X_EXPORT void ListenOnOpenFD(int /* fd */ , int /* noxauth */ );
|
||||||
|
|
||||||
extern _X_EXPORT Bool AddClientOnOpenFD(int /* fd */ );
|
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 CARD32 GetTimeInMillis(void);
|
||||||
extern _X_EXPORT CARD64 GetTimeInMicros(void);
|
extern _X_EXPORT CARD64 GetTimeInMicros(void);
|
||||||
|
|
||||||
|
|
|
@ -195,4 +195,7 @@ int OnlyListenToOneClient(ClientPtr client);
|
||||||
|
|
||||||
void ListenToAllClients(void);
|
void ListenToAllClients(void);
|
||||||
|
|
||||||
|
/* allow DDX to force using another clock */
|
||||||
|
void ForceClockId(clockid_t forced_clockid);
|
||||||
|
|
||||||
#endif /* _OSDEP_H_ */
|
#endif /* _OSDEP_H_ */
|
||||||
|
|
Loading…
Reference in New Issue