Mercurial > mplayer.hg
diff TOOLS/realcodecs/28_8.c @ 28232:8df85ad26746
Add missing 'void' keyword to parameterless function declarations.
author | diego |
---|---|
date | Mon, 05 Jan 2009 14:48:03 +0000 |
parents | 3f3f00ce912e |
children | 0f1b5b68af32 |
line wrap: on
line diff
--- a/TOOLS/realcodecs/28_8.c Mon Jan 05 12:50:53 2009 +0000 +++ b/TOOLS/realcodecs/28_8.c Mon Jan 05 14:48:03 2009 +0000 @@ -44,7 +44,7 @@ void *handle=NULL; /* exits program when failure */ -void loadSyms() { +void loadSyms(void) { fputs("loadSyms()\n", stderr); if (!b_dlOpened) { char *error; @@ -100,7 +100,7 @@ } } -void closeDll() { +void closeDll(void) { if (handle) { b_dlOpened=0; dlclose(handle); @@ -115,11 +115,11 @@ struct timezone tz; struct timeval tv1, tv2; -void tic() { +void tic(void) { gettimeofday(&tv1, &tz); } -void toc() { +void toc(void) { long secs, usecs; gettimeofday(&tv2, &tz); secs=tv2.tv_sec-tv1.tv_sec;