[vlc-commits] Useless #include <poll.h>

Rémi Denis-Courmont git at videolan.org
Tue Apr 9 21:07:29 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Apr  9 22:07:17 2013 +0300| [15bc6f28f8e5adffed69128ba34ff773508ee10e] | committer: Rémi Denis-Courmont

Useless #include <poll.h>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=15bc6f28f8e5adffed69128ba34ff773508ee10e
---

 modules/access/dvb/linux_dvb.c |    1 -
 modules/access/mtp.c           |    1 -
 modules/access/rtp/xiph.c      |    3 ---
 modules/access/v4l2/video.c    |    1 -
 4 files changed, 6 deletions(-)

diff --git a/modules/access/dvb/linux_dvb.c b/modules/access/dvb/linux_dvb.c
index 5398d97..7c12e89 100644
--- a/modules/access/dvb/linux_dvb.c
+++ b/modules/access/dvb/linux_dvb.c
@@ -38,7 +38,6 @@
 #include <sys/ioctl.h>
 #include <fcntl.h>
 #include <unistd.h>
-#include <poll.h>
 
 /* DVB Card Drivers */
 #include <linux/dvb/version.h>
diff --git a/modules/access/mtp.c b/modules/access/mtp.c
index ce937f8..c7ce997 100644
--- a/modules/access/mtp.c
+++ b/modules/access/mtp.c
@@ -36,7 +36,6 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
-#include <poll.h>
 
 #include <vlc_common.h>
 #include <vlc_plugin.h>
diff --git a/modules/access/rtp/xiph.c b/modules/access/rtp/xiph.c
index df35215..8cdfcd4 100644
--- a/modules/access/rtp/xiph.c
+++ b/modules/access/rtp/xiph.c
@@ -29,9 +29,6 @@
 #include <vlc_common.h>
 #include <vlc_demux.h>
 #include <vlc_network.h>
-#ifdef HAVE_POLL
-# include <poll.h>
-#endif
 #include <vlc_plugin.h>
 
 #include "../../demux/xiph.h"
diff --git a/modules/access/v4l2/video.c b/modules/access/v4l2/video.c
index bcc3afa..34ebe48 100644
--- a/modules/access/v4l2/video.c
+++ b/modules/access/v4l2/video.c
@@ -32,7 +32,6 @@
 #include <errno.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
-#include <poll.h>
 
 #include <vlc_common.h>
 #include <vlc_block.h>



More information about the vlc-commits mailing list