Remove useless <sys/stat.h> includes

This commit is contained in:
Rémi Denis-Courmont 2010-01-11 19:08:03 +02:00
parent 22fdf98f4c
commit a52793e924
19 changed files with 3 additions and 41 deletions

View 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

View File

@ -33,12 +33,10 @@
#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 */

View File

@ -34,12 +34,10 @@
#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 */

View 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>

View 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

View 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>

View File

@ -31,7 +31,6 @@
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <fcntl.h>
#include <errno.h>

View File

@ -33,7 +33,6 @@
#include <vlc_plugin.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <assert.h>

View 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

View File

@ -36,7 +36,6 @@
#include <vlc_input.h>
#include <stdbool.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>

View 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

View File

@ -36,10 +36,6 @@
#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"

View 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"

View File

@ -37,10 +37,6 @@
#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 */

View File

@ -31,10 +31,6 @@
#include <vlc_interface.h>
#include <vlc_services_discovery.h>
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#include "libmtp.h"
/*****************************************************************************

View 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>

View 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>

View File

@ -55,7 +55,6 @@
# endif
# include <sys/types.h>
# include <sys/stat.h>
# include <sys/ioctl.h>
# include <sys/ioctl.h>

View 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 */