mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-09 04:20:30 +00:00
xserver: os: reexport TimerForce() but do not allow compile drivers with it
Some checks are pending
Build X servers / xserver-build-ubuntu (push) Waiting to run
Build X servers / drivers-build-ubuntu (push) Waiting to run
Build X servers / xserver-build-mingw32-ubuntu (push) Waiting to run
Build X servers / xserver-build-macos (push) Waiting to run
Build X servers / xserver-build-freebsd (push) Waiting to run
Build X servers / Release pushed tag (push) Waiting to run
Some checks are pending
Build X servers / xserver-build-ubuntu (push) Waiting to run
Build X servers / drivers-build-ubuntu (push) Waiting to run
Build X servers / xserver-build-mingw32-ubuntu (push) Waiting to run
Build X servers / xserver-build-macos (push) Waiting to run
Build X servers / xserver-build-freebsd (push) Waiting to run
Build X servers / Release pushed tag (push) Waiting to run
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
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Reference in a new issue