mirror of
https://github.com/X11Libre/xserver.git
synced 2026-01-26 14:03:17 +00:00
xserver: os: reexport TimerForce() but do not allow compile drivers with it
This function is called by nvidia390 legacy proprietary driver. Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com>
This commit is contained in:
parent
84081451bc
commit
c4077eb298
@ -118,7 +118,11 @@ extern Bool ComputeLocalClient(ClientPtr client);
|
||||
|
||||
/* OsTimer functions */
|
||||
void TimerInit(void);
|
||||
Bool TimerForce(OsTimerPtr timer);
|
||||
|
||||
/* must be exported for backwards compatibility with legacy nvidia390,
|
||||
* not for use in maintained drivers
|
||||
*/
|
||||
_X_EXPORT Bool TimerForce(OsTimerPtr);
|
||||
|
||||
#ifdef WIN32
|
||||
#include <X11/Xwinsock.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user