From c5e2120e15d3b6e6e896a48670376de985fcc712 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 31 Aug 2012 18:17:45 +0200 Subject: timer: remove timer_name This was unreferenced and useless. --- osdep/timer-darwin.c | 3 --- osdep/timer-linux.c | 7 ------- osdep/timer-win2.c | 2 -- osdep/timer.h | 2 -- 4 files changed, 14 deletions(-) (limited to 'osdep') diff --git a/osdep/timer-darwin.c b/osdep/timer-darwin.c index 19fcdd946a..13dcb104b7 100644 --- a/osdep/timer-darwin.c +++ b/osdep/timer-darwin.c @@ -30,9 +30,6 @@ /* global variables */ static double timebase_ratio; -const char timer_name[] = "Darwin accurate"; - - /* the core sleep function, uses floats and is used in MPlayer G2 */ static float sleep_accurate(float time_frame) diff --git a/osdep/timer-linux.c b/osdep/timer-linux.c index 4ef28a499d..63f7ad913f 100644 --- a/osdep/timer-linux.c +++ b/osdep/timer-linux.c @@ -26,13 +26,6 @@ #include "config.h" #include "timer.h" -const char timer_name[] = -#ifdef HAVE_NANOSLEEP - "nanosleep()"; -#else - "usleep()"; -#endif - int usec_sleep(int usec_delay) { #ifdef HAVE_NANOSLEEP diff --git a/osdep/timer-win2.c b/osdep/timer-win2.c index ac8eaa1bd6..88a047410d 100644 --- a/osdep/timer-win2.c +++ b/osdep/timer-win2.c @@ -22,8 +22,6 @@ #include #include "timer.h" -const char timer_name[] = "Windows native"; - // Returns current time in microseconds unsigned int GetTimer(void) { diff --git a/osdep/timer.h b/osdep/timer.h index c3925041ca..fe04663781 100644 --- a/osdep/timer.h +++ b/osdep/timer.h @@ -19,8 +19,6 @@ #ifndef MPLAYER_TIMER_H #define MPLAYER_TIMER_H -extern const char timer_name[]; - void InitTimer(void); unsigned int GetTimer(void); unsigned int GetTimerMS(void); -- cgit v1.2.3