Fix wrong #endif comment that does not match the #ifdef directive.
[mplayer/greg.git] / osdep / timer.h
blobf0e87a89b71b511e085d35cfb8c2cc951730882e
1 #ifndef MPLAYER_TIMER_H
2 #define MPLAYER_TIMER_H
4 extern const char *timer_name;
6 void InitTimer(void);
7 unsigned int GetTimer(void);
8 unsigned int GetTimerMS(void);
9 //int uGetTimer();
10 float GetRelativeTime(void);
12 int usec_sleep(int usec_delay);
14 /* timer's callback handling */
15 typedef void timer_callback( void );
16 extern unsigned set_timer_callback(unsigned ms,timer_callback func);
17 extern void restore_timer(void);
19 #endif /* MPLAYER_TIMER_H */