summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-21 09:22:33 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-21 09:22:33 +0000
commit4bb3d604d530cd87d8c981eee4aa65a7867cc359 (patch)
tree550097b804b343888c40cf56a7731bfd19ee688d /osdep
parentd601affdb176858251fedac798105618681af295 (diff)
downloadmpv-4bb3d604d530cd87d8c981eee4aa65a7867cc359.tar.bz2
mpv-4bb3d604d530cd87d8c981eee4aa65a7867cc359.tar.xz
main() --> main(void)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25128 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'osdep')
-rw-r--r--osdep/glob-win.c2
-rw-r--r--osdep/timer-darwin.c2
-rw-r--r--osdep/timer-lx.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/osdep/glob-win.c b/osdep/glob-win.c
index cceb0bebf9..f0764bba37 100644
--- a/osdep/glob-win.c
+++ b/osdep/glob-win.c
@@ -71,7 +71,7 @@ void globfree(glob_t *pglob)
}
#if 0
-int main(){
+int main(void){
glob_t gg;
printf("globtest\n");
glob( "*.jpeg",0,NULL,&gg );
diff --git a/osdep/timer-darwin.c b/osdep/timer-darwin.c
index 9c5a2d6893..68029d1fdc 100644
--- a/osdep/timer-darwin.c
+++ b/osdep/timer-darwin.c
@@ -94,7 +94,7 @@ void InitTimer()
#if 0
#include <stdio.h>
-int main() {
+int main(void) {
int i,j, r, c = 200;
long long t = 0;
diff --git a/osdep/timer-lx.c b/osdep/timer-lx.c
index f01cc02509..5b6010b154 100644
--- a/osdep/timer-lx.c
+++ b/osdep/timer-lx.c
@@ -65,7 +65,7 @@ void InitTimer(void){
#if 0
-void main(){
+void main(void){
float t=0;
InitTimer();
while(1){ t+=GetRelativeTime();printf("time= %10.6f\r",t);fflush(stdout); }