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 b23d6fd..2007951 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 1ad3c0e..c3504ac 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 af792d8..8235c82 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 a691a49..8b4a05b 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 ebbf223..ce2d921 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 0247a88..ce0da91 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 123bcae..3bb110d 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 2733660..afb9bf1 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 7fabbac..a24c6f2 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 f35fb28..c2370cb 100644 (file)
@@ -36,7 +36,6 @@
 #include <vlc_input.h>
 
 #include <stdbool.h>
-#include <sys/stat.h>
 
 #include <errno.h>
 #include <fcntl.h>
index 3254168..d4eb09f 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 09d5f89..dce8c7a 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 ebe5b78..eb56a95 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 ba7fd05..11530b8 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 f40fd07..f82edf1 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 7de60c7..1f6ee72 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 3d1975a..73c1a4c 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 e661821..17946e4 100644 (file)
@@ -55,7 +55,6 @@
 #   endif
 
 #   include <sys/types.h>
-#   include <sys/stat.h>
 #   include <sys/ioctl.h>
 
 #   include <sys/ioctl.h>
index a0c1e2a..3336481 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 */