]> git.sesse.net Git - vlc/commitdiff
Remove useless <fcntl.h> and <sys/time.h> inclusions
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 11 Jan 2010 17:42:39 +0000 (19:42 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 11 Jan 2010 17:45:12 +0000 (19:45 +0200)
modules/control/netsync.c
modules/control/rc.c
modules/services_discovery/podcast.c
modules/services_discovery/sap.c
src/control/mediacontrol_audio_video.c
src/control/mediacontrol_core.c
src/control/mediacontrol_util.c
src/extras/libc.c
src/input/vlmshell.c
src/network/io.c
src/network/udp.c

index b8349141b4550c4ab2cf2e098a8ce3c565eaa4e8..5652d0e15a3c32975a8dcca2540bf14c4597a591 100644 (file)
@@ -37,9 +37,6 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 #ifdef HAVE_SYS_TYPES_H
 #   include <sys/types.h>
 #endif
index e9f90058b057fd805d4383151869414b711ce9c4..6b5da0b9fe0693cd768eb4995d20761170abac54 100644 (file)
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 #include <sys/types.h>
 
 #include <vlc_network.h>
index 19c4a67ee6f66f195cc82d247edc473ee224e6be..07afe5bc2ca0bdca4cf170f6c3b87d57af64872c 100644 (file)
@@ -40,9 +40,6 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 
 /************************************************************************
  * Macros and definitions
index 8da5f43c5d26909b0642c22ca6f61e0d0eed32fd..4cd31ec240ac5bf5a2f060bfabc533f302b13967 100644 (file)
@@ -43,9 +43,6 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 #ifdef HAVE_POLL
 # include <poll.h>
 #endif
index 8f6602d448f0b57a3e5e93af438dfb8f92f5ef80..cc3ac9cec05cedb5ee1ec05d5a872583f979679d 100644 (file)
@@ -44,9 +44,6 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 #ifdef HAVE_SYS_TYPES_H
 #    include <sys/types.h>
 #endif
index 709019440c1d8c540298774120f7d67086b4f329..7d73a600607dc6eb2b366b60fc7240ce706268ef 100644 (file)
@@ -46,9 +46,6 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 #ifdef HAVE_SYS_TYPES_H
 #    include <sys/types.h>
 #endif
index 3dcfd431d40b88ea4da5a74c8000bd124774c427..7b4ac520c17f2832fddc6d94cb0d28670c8186cb 100644 (file)
@@ -40,9 +40,6 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 #ifdef HAVE_SYS_TYPES_H
 #    include <sys/types.h>
 #endif
index f262b7de95e25e462095e3ffe5839f1512ac2822..5a69137bc7f2919a3bfa2041ab616ca7f119fe75 100644 (file)
@@ -46,7 +46,6 @@
 
 #ifdef HAVE_FORK
 #   include <signal.h>
-#   include <sys/time.h>
 #   include <unistd.h>
 #   include <errno.h>
 #   include <sys/wait.h>
index 58fe8aa369ab5873c5e4201630f66be827d4a917..284a340d82495d0d112a1264ea3fd0d561c48c7f 100644 (file)
 
 #ifdef ENABLE_VLM
 
-#ifndef WIN32
-#   include <sys/time.h>                                   /* gettimeofday() */
-#endif
-
 #include <time.h>                                                 /* ctime() */
 
 #include <vlc_input.h>
index ef07124f740e2ec781a404c72b0b2f80b1550d03..554b23456c43a7cf7972f542102a9347f47965a7 100644 (file)
@@ -44,9 +44,6 @@
 #ifdef HAVE_FCNTL_H
 #   include <fcntl.h>
 #endif
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
 #ifdef HAVE_UNISTD_H
 #   include <unistd.h>
 #endif
index 225eb192de23e060ef6fd80ec3fb8cfb38c620bc..d00b09e704d6214780bb45102a00ace5ad001ab0 100644 (file)
 
 #include <errno.h>
 
-#ifdef HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#endif
-
 #include <vlc_network.h>
 
 #ifdef WIN32