From 824abb5a65c1de35259818956e22a24c33f318b4 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 5 Jan 2009 14:48:03 +0000 Subject: Add missing 'void' keyword to parameterless function declarations. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28267 b3059339-0415-0410-9bf9-f77b7e298cf2 --- TOOLS/fastmemcpybench.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'TOOLS/fastmemcpybench.c') diff --git a/TOOLS/fastmemcpybench.c b/TOOLS/fastmemcpybench.c index 35f7914285..2d8ac2b03d 100644 --- a/TOOLS/fastmemcpybench.c +++ b/TOOLS/fastmemcpybench.c @@ -7,6 +7,8 @@ tested it. */ +/* According to Uoti this code is broken. */ + #include #include #include @@ -28,8 +30,8 @@ static mga_vid_config_t mga_vid_config; static unsigned char* frame=NULL; static int f; -static int mga_init(){ - +static int mga_init(void) +{ f = open("/dev/mga_vid",O_RDWR); if(f == -1) { @@ -74,7 +76,8 @@ static int mga_init(){ #endif // Returns current time in microseconds -static unsigned int GetTimer(){ +static unsigned int GetTimer(void) +{ struct timeval tv; struct timezone tz; // float s; -- cgit v1.2.3