From: RĂ©mi Denis-Courmont Date: Mon, 11 Jan 2010 17:42:39 +0000 (+0200) Subject: Remove useless and inclusions X-Git-Tag: 1.1.0-ff~1282 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=49397ad54de3c3aff5f9dcc0856c6fa19f94729d;p=vlc Remove useless and inclusions --- diff --git a/modules/control/netsync.c b/modules/control/netsync.c index b8349141b4..5652d0e15a 100644 --- a/modules/control/netsync.c +++ b/modules/control/netsync.c @@ -37,9 +37,6 @@ #ifdef HAVE_UNISTD_H # include #endif -#ifdef HAVE_SYS_TIME_H -# include -#endif #ifdef HAVE_SYS_TYPES_H # include #endif diff --git a/modules/control/rc.c b/modules/control/rc.c index e9f90058b0..6b5da0b9fe 100644 --- a/modules/control/rc.c +++ b/modules/control/rc.c @@ -47,10 +47,6 @@ #ifdef HAVE_UNISTD_H # include #endif - -#ifdef HAVE_SYS_TIME_H -# include -#endif #include #include diff --git a/modules/services_discovery/podcast.c b/modules/services_discovery/podcast.c index 19c4a67ee6..07afe5bc2c 100644 --- a/modules/services_discovery/podcast.c +++ b/modules/services_discovery/podcast.c @@ -40,9 +40,6 @@ #ifdef HAVE_UNISTD_H # include #endif -#ifdef HAVE_SYS_TIME_H -# include -#endif /************************************************************************ * Macros and definitions diff --git a/modules/services_discovery/sap.c b/modules/services_discovery/sap.c index 8da5f43c5d..4cd31ec240 100644 --- a/modules/services_discovery/sap.c +++ b/modules/services_discovery/sap.c @@ -43,9 +43,6 @@ #ifdef HAVE_UNISTD_H # include #endif -#ifdef HAVE_SYS_TIME_H -# include -#endif #ifdef HAVE_POLL # include #endif diff --git a/src/control/mediacontrol_audio_video.c b/src/control/mediacontrol_audio_video.c index 8f6602d448..cc3ac9cec0 100644 --- a/src/control/mediacontrol_audio_video.c +++ b/src/control/mediacontrol_audio_video.c @@ -44,9 +44,6 @@ #ifdef HAVE_UNISTD_H # include #endif -#ifdef HAVE_SYS_TIME_H -# include -#endif #ifdef HAVE_SYS_TYPES_H # include #endif diff --git a/src/control/mediacontrol_core.c b/src/control/mediacontrol_core.c index 709019440c..7d73a60060 100644 --- a/src/control/mediacontrol_core.c +++ b/src/control/mediacontrol_core.c @@ -46,9 +46,6 @@ #ifdef HAVE_UNISTD_H # include #endif -#ifdef HAVE_SYS_TIME_H -# include -#endif #ifdef HAVE_SYS_TYPES_H # include #endif diff --git a/src/control/mediacontrol_util.c b/src/control/mediacontrol_util.c index 3dcfd431d4..7b4ac520c1 100644 --- a/src/control/mediacontrol_util.c +++ b/src/control/mediacontrol_util.c @@ -40,9 +40,6 @@ #ifdef HAVE_UNISTD_H # include #endif -#ifdef HAVE_SYS_TIME_H -# include -#endif #ifdef HAVE_SYS_TYPES_H # include #endif diff --git a/src/extras/libc.c b/src/extras/libc.c index f262b7de95..5a69137bc7 100644 --- a/src/extras/libc.c +++ b/src/extras/libc.c @@ -46,7 +46,6 @@ #ifdef HAVE_FORK # include -# include # include # include # include diff --git a/src/input/vlmshell.c b/src/input/vlmshell.c index 58fe8aa369..284a340d82 100644 --- a/src/input/vlmshell.c +++ b/src/input/vlmshell.c @@ -40,10 +40,6 @@ #ifdef ENABLE_VLM -#ifndef WIN32 -# include /* gettimeofday() */ -#endif - #include /* ctime() */ #include diff --git a/src/network/io.c b/src/network/io.c index ef07124f74..554b23456c 100644 --- a/src/network/io.c +++ b/src/network/io.c @@ -44,9 +44,6 @@ #ifdef HAVE_FCNTL_H # include #endif -#ifdef HAVE_SYS_TIME_H -# include -#endif #ifdef HAVE_UNISTD_H # include #endif diff --git a/src/network/udp.c b/src/network/udp.c index 225eb192de..d00b09e704 100644 --- a/src/network/udp.c +++ b/src/network/udp.c @@ -35,10 +35,6 @@ #include -#ifdef HAVE_SYS_TIME_H -# include -#endif - #include #ifdef WIN32