os: unexport TimerInit() and TimerForce()
These functions aren't used by and drivers (and TimerInit() shouldn't be be called from modules at all), thus unexport them. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1330>
This commit is contained in:
parent
0f37f6fb4c
commit
ceb60b0cda
|
@ -184,10 +184,6 @@ typedef CARD32 (*OsTimerCallback) (OsTimerPtr timer,
|
||||||
CARD32 time,
|
CARD32 time,
|
||||||
void *arg);
|
void *arg);
|
||||||
|
|
||||||
extern _X_EXPORT void TimerInit(void);
|
|
||||||
|
|
||||||
extern _X_EXPORT Bool TimerForce(OsTimerPtr /* timer */ );
|
|
||||||
|
|
||||||
#define TimerAbsolute (1<<0)
|
#define TimerAbsolute (1<<0)
|
||||||
#define TimerForceOld (1<<1)
|
#define TimerForceOld (1<<1)
|
||||||
|
|
||||||
|
|
1
os/log.c
1
os/log.c
|
@ -89,6 +89,7 @@ OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
#include "opaque.h"
|
#include "opaque.h"
|
||||||
|
#include "osdep.h"
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <process.h>
|
#include <process.h>
|
||||||
|
|
|
@ -129,4 +129,8 @@ extern Bool ComputeLocalClient(ClientPtr client);
|
||||||
/* in auth.c */
|
/* in auth.c */
|
||||||
extern void GenerateRandomData(int len, char *buf);
|
extern void GenerateRandomData(int len, char *buf);
|
||||||
|
|
||||||
|
/* OsTimer functions */
|
||||||
|
void TimerInit(void);
|
||||||
|
Bool TimerForce(OsTimerPtr timer);
|
||||||
|
|
||||||
#endif /* _OSDEP_H_ */
|
#endif /* _OSDEP_H_ */
|
||||||
|
|
Loading…
Reference in New Issue