timer: remove timer_name

This was unreferenced and useless.
This commit is contained in:
wm4 2012-08-31 18:17:45 +02:00
parent 914c8dc577
commit c5e2120e15
4 changed files with 0 additions and 14 deletions

View File

@ -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)

View File

@ -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

View File

@ -22,8 +22,6 @@
#include <mmsystem.h>
#include "timer.h"
const char timer_name[] = "Windows native";
// Returns current time in microseconds
unsigned int GetTimer(void)
{

View File

@ -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);