summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/os.h4
-rw-r--r--os/osdep.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/include/os.h b/include/os.h
index e78f5a4c1..a07aedf1a 100644
--- a/include/os.h
+++ b/include/os.h
@@ -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);
diff --git a/os/osdep.h b/os/osdep.h
index 138a04fcd..0687f568d 100644
--- a/os/osdep.h
+++ b/os/osdep.h
@@ -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_ */