]> git.sesse.net Git - vlc/commitdiff
Remove useless <sys/stat.h> includes
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 11 Jan 2010 17:08:03 +0000 (19:08 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 11 Jan 2010 17:08:42 +0000 (19:08 +0200)
19 files changed:
modules/access/dv.c
modules/access/dvb/en50221.c
modules/access/dvb/linux_dvb.c
modules/access/dvdread.c
modules/access/mms/mmstu.c
modules/access/pvr.c
modules/access_output/file.c
modules/access_output/udp.c
modules/control/http/http.h
modules/control/telnet.c
modules/misc/dummy/decoder.c
modules/misc/lua/demux.c
modules/misc/lua/libs/net.c
modules/misc/lua/vlc.h
modules/services_discovery/mtp.c
modules/stream_out/rtp.c
modules/video_filter/atmo/AtmoSerialConnection.cpp
src/interface/intf_eject.c
src/video_output/vout_intf.c

index b23d6fd908be990b307ee10243a7859bdb59dee9..20079512b45978fda690a23b9d10d63008af090b 100644 (file)
@@ -39,9 +39,6 @@
 #ifdef HAVE_SYS_TIME_H
 #   include <sys/time.h>
 #endif
-#ifdef HAVE_SYS_STAT_H
-#   include <sys/stat.h>
-#endif
 #ifdef HAVE_FCNTL_H
 #   include <fcntl.h>
 #endif
index 1ad3c0e8014be43548560ed5a7dfd07d3e2f68a3..c3504ac2ed39c85ac5ac94519b6bc220ddc377fc 100644 (file)
 #include <errno.h>
 
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <time.h>
 #include <unistd.h>
-#include <sys/stat.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <netinet/in.h>
 
 /* DVB Card Drivers */
index af792d8fef210d1c3da62b445ee4c99d58d47207..8235c82119c240ad8adb33fe833f009b9a320b15 100644 (file)
 #include <errno.h>
 
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <time.h>
 #include <unistd.h>
-#include <sys/stat.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <vlc_charset.h>
 
 /* DVB Card Drivers */
index a691a49817992351a04ebd9c781e66f5a20cf6df..8b4a05b27f094da0ebf649161395cf3f5763a32a 100644 (file)
@@ -48,7 +48,6 @@
 
 #include <fcntl.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 
 #ifdef HAVE_DVDREAD_DVD_READER_H
   #include <dvdread/dvd_reader.h>
index ebbf2239eb553113601f0c0671e24563eb07cce1..ce2d9217bc15a1ad8dbd69d105c217254b8ea262 100644 (file)
@@ -47,9 +47,6 @@
 #ifdef HAVE_SYS_TYPES_H
 #   include <sys/types.h>
 #endif
-#ifdef HAVE_SYS_STAT_H
-#   include <sys/stat.h>
-#endif
 #ifdef HAVE_POLL
 #   include <poll.h>
 #endif
index 0247a88dcea752c50206fb2ecdd3c4a36eb9f4e7..ce0da917ae976c678c43b187a3d932bc686b3d24 100644 (file)
@@ -35,7 +35,6 @@
 #include <vlc_charset.h>
 
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <linux/types.h>
index 123bcaec47ba414ff44f1b1d2b636748cd25fab3..3bb110d826dbcb56042c3948213f8ecdf83902c5 100644 (file)
@@ -31,7 +31,6 @@
 #endif
 
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <time.h>
 #include <fcntl.h>
 #include <errno.h>
index 2733660eebc34e92dfc5d3aa596cb522455f8cfd..afb9bf16dc417ca5500eb41436169fabcf8e9b99 100644 (file)
@@ -33,7 +33,6 @@
 #include <vlc_plugin.h>
 
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <assert.h>
 
index 7fabbac7cc392ca9a87d1e6c8287e2c0111836b7..a24c6f2fcd1863f8381899116642a573f19aa0e3 100644 (file)
@@ -45,9 +45,6 @@
 #include <vlc_acl.h>
 #include <vlc_charset.h>
 
-#ifdef HAVE_SYS_STAT_H
-#   include <sys/stat.h>
-#endif
 #ifdef HAVE_FCNTL_H
 #   include <fcntl.h>
 #endif
index f35fb288b6f3f033a0218794eaceb2581b8e421f..c2370cbec5739d9ec2334a441b08cfca8c9d6211 100644 (file)
@@ -36,7 +36,6 @@
 #include <vlc_input.h>
 
 #include <stdbool.h>
-#include <sys/stat.h>
 
 #include <errno.h>
 #include <fcntl.h>
index 3254168fa26e7d3a0735bdaf43fe75e8e16491b3..d4eb09f151d01da65930f27aec8c9c5e9d30d7da 100644 (file)
@@ -40,9 +40,6 @@
 #ifdef HAVE_SYS_TYPES_H
 #   include <sys/types.h> /* open() */
 #endif
-#ifdef HAVE_SYS_STAT_H
-#   include <sys/stat.h>
-#endif
 #ifdef HAVE_FCNTL_H
 #   include <fcntl.h>
 #endif
index 09d5f89e0acaa09e325f7d079810f4050c6dd4fb..dce8c7ae6ae2860a8977e9581cd4c77330f38564 100644 (file)
 #include <vlc_strings.h>
 #include <vlc_charset.h>
 
-#ifdef HAVE_SYS_STAT_H
-#   include <sys/stat.h>
-#endif
-
 #include "vlc.h"
 #include "libs.h"
 #include "libs/playlist.h"
index ebe5b7852553c992d25de5be2bb069d82573c470..eb56a958426f72bfff7352d899361d7302575c86 100644 (file)
@@ -42,6 +42,7 @@
 #ifdef HAVE_POLL
 #include <poll.h>       /* poll structures and defines */
 #endif
+#include <sys/stat.h>
 
 #include "../vlc.h"
 #include "../libs.h"
index ba7fd052835dfcf8430b4023ff7a5b1b0d1c78ae..11530b87f7effa6c9e6072fd62eb7a27b7327677 100644 (file)
 #include <vlc_stream.h>
 #include <vlc_charset.h>
 
-#ifdef HAVE_SYS_STAT_H
-#   include <sys/stat.h>
-#endif
-
 #include <lua.h>        /* Low level lua C API */
 #include <lauxlib.h>    /* Higher level C API */
 #include <lualib.h>     /* Lua libs */
index f40fd07576a966fad250460e3da813e02ba0505a..f82edf12509033e910a88e43d7aef3dfeb91c3d5 100644 (file)
 #include <vlc_interface.h>
 #include <vlc_services_discovery.h>
 
-#ifdef HAVE_SYS_STAT_H
-#include <sys/stat.h>
-#endif
-
 #include "libmtp.h"
 
 /*****************************************************************************
index 7de60c7564c5d0182fd97507da37b37db1c9d2d9..1f6ee7254370f451cd475b35ac5ee1e25bb16e47 100644 (file)
@@ -50,7 +50,6 @@
 #   include <sys/types.h>
 #   include <unistd.h>
 #   include <fcntl.h>
-#   include <sys/stat.h>
 #endif
 #ifdef HAVE_ARPA_INET_H
 #   include <arpa/inet.h>
index 3d1975a814a7605cb1c3f7225ada17aca95d082d..73c1a4c097b6db4094157bde00dbead5839a108f 100644 (file)
@@ -15,8 +15,6 @@
 #include <stdio.h>
 #include <fcntl.h>
 
-#include <sys/stat.h>
-
 #if !defined(WIN32)
 #include <termios.h>
 #include <unistd.h>
@@ -24,7 +22,6 @@
 
 /*
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <string.h>
 #include <termios.h>
index e6618218e020179769092b54b1d422d2fa6a5417..17946e41c5b1c9fefaf1d0f772519ad25cb50959 100644 (file)
@@ -55,7 +55,6 @@
 #   endif
 
 #   include <sys/types.h>
-#   include <sys/stat.h>
 #   include <sys/ioctl.h>
 
 #   include <sys/ioctl.h>
index a0c1e2aaf3403df6e61b68ffb95319cdf38bfa8e..33364817694459bdb54585a2e1135cbc58bfcbb1 100644 (file)
@@ -33,7 +33,6 @@
 #include <stdio.h>
 #include <stdlib.h>                                                /* free() */
 #include <sys/types.h>                                          /* opendir() */
-#include <sys/stat.h>
 #include <dirent.h>                                             /* opendir() */
 #include <assert.h>
 #include <time.h>                                           /* strftime */