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:
Enrico Weigelt, metux IT consult 2024-02-22 15:40:50 +01:00 committed by Alan Coopersmith
parent 41c3155fdf
commit c17c527b9a
2 changed files with 3 additions and 4 deletions

View File

@ -155,10 +155,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);

View File

@ -195,4 +195,7 @@ int OnlyListenToOneClient(ClientPtr client);
void ListenToAllClients(void);
/* allow DDX to force using another clock */
void ForceClockId(clockid_t forced_clockid);
#endif /* _OSDEP_H_ */