Commit 22fdf98f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Remove useless <errno.h> inclusions

parent 3ea9fb9c
......@@ -38,8 +38,6 @@
#include <fcntl.h>
#include <sys/types.h>
#include <errno.h>
/* Include dvbpsi headers */
#ifdef HAVE_DVBPSI_DR_H
# include <dvbpsi/dvbpsi.h>
......
......@@ -38,9 +38,7 @@
#include <fcntl.h>
#include <sys/types.h>
#include <sys/poll.h>
#include <errno.h>
#include <poll.h>
/* Include dvbpsi headers */
#ifdef HAVE_DVBPSI_DR_H
......
......@@ -48,7 +48,6 @@
#include <jack/jack.h>
#include <jack/ringbuffer.h>
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
......
......@@ -32,7 +32,6 @@
#include <assert.h>
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
......
......@@ -38,7 +38,6 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <linux/types.h>
#include <sys/ioctl.h>
#include <sys/poll.h>
......
......@@ -39,7 +39,6 @@
# include <unistd.h>
#endif
#include <errno.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
......
......@@ -27,7 +27,6 @@
#include <vlc_plugin.h>
#include <assert.h>
#include <errno.h>
#include <vlc_access.h>
......
......@@ -30,7 +30,6 @@
#include <assert.h>
#include <time.h>
#include <errno.h>
#include <vlc_access.h>
......
......@@ -34,7 +34,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
#include <assert.h>
......
......@@ -36,12 +36,8 @@
# include "config.h"
#endif
#include <errno.h> /* ENOMEM */
#include <ctype.h>
#include <math.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
......
......@@ -30,8 +30,6 @@
# include "config.h"
#endif
#include <errno.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_aout.h>
......
......@@ -26,8 +26,6 @@
*****************************************************************************/
extern "C"
{
#include <errno.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
......
......@@ -31,7 +31,6 @@
# include "config.h"
#endif
#include <errno.h> /* ENOMEM */
#include <fcntl.h> /* open(), O_WRONLY */
#include <sys/ioctl.h> /* ioctl() */
#include <unistd.h> /* write(), close() */
......
......@@ -48,7 +48,6 @@
#include <vlc_charset.h>
#include <vlc_stream.h>
#include <vlc_xml.h>
#include <errno.h>
#include <string.h>
#include <assert.h>
......
......@@ -37,7 +37,6 @@
#include <vlc_charset.h>
#include <vlc_stream.h>
#include <vlc_xml.h>
#include <errno.h>
#include <string.h>
......
......@@ -48,7 +48,6 @@
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#include <errno.h>
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
......
......@@ -28,6 +28,7 @@
#include "http.h"
#include <limits.h>
#include <errno.h>
/* Utility function for scandir */
static int Filter( const char *foo )
......
......@@ -30,6 +30,7 @@
#include <vlc_common.h>
#include "http.h"
#include <vlc_strings.h>
#include <errno.h>
/****************************************************************************
* File and directory functions
......
......@@ -29,8 +29,6 @@
# include "config.h"
#endif
#include <errno.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_demux.h>
......
......@@ -36,7 +36,6 @@
#include <vlc_input.h>
#include <vlc_memory.h>
#include <errno.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment