summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-06-19 22:08:35 +0100
committerMans Rullgard <mans@mansr.com>2012-06-20 11:46:46 +0100
commit6501dcfb5e3797b66f63de030fabe774b5f4596f (patch)
treed73ff9b3e80a65d72f156540480449688f5b7486
parent4e5a51481343ef4e08a3779186f466f3458259ff (diff)
Remove unnecessary inclusions of [sys/]time.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r--avconv.c1
-rw-r--r--avserver.c1
-rw-r--r--libavdevice/dv1394.c2
-rw-r--r--libavdevice/fbdev.c1
-rw-r--r--libavdevice/oss_audio.c2
-rw-r--r--libavdevice/v4l2.c1
-rw-r--r--libavformat/rtpproto.c1
-rw-r--r--libavformat/rtsp.c1
-rw-r--r--libavformat/rtspenc.c1
-rw-r--r--libavformat/sapdec.c1
-rw-r--r--libavformat/sctp.c1
-rw-r--r--libavformat/tcp.c1
-rw-r--r--libavformat/udp.c1
-rw-r--r--libavutil/parseutils.c1
14 files changed, 0 insertions, 16 deletions
diff --git a/avconv.c b/avconv.c
index 9da8d8aeca..7abf10d7b0 100644
--- a/avconv.c
+++ b/avconv.c
@@ -55,7 +55,6 @@
#if HAVE_SYS_RESOURCE_H
#include <sys/types.h>
-#include <sys/time.h>
#include <sys/resource.h>
#elif HAVE_GETPROCESSTIMES
#include <windows.h>
diff --git a/avserver.c b/avserver.c
index 5777a08cd3..60509652cd 100644
--- a/avserver.c
+++ b/avserver.c
@@ -51,7 +51,6 @@
#include <poll.h>
#endif
#include <errno.h>
-#include <sys/time.h>
#include <time.h>
#include <sys/wait.h>
#include <signal.h>
diff --git a/libavdevice/dv1394.c b/libavdevice/dv1394.c
index f48d2b1506..2bb65b6a38 100644
--- a/libavdevice/dv1394.c
+++ b/libavdevice/dv1394.c
@@ -26,8 +26,6 @@
#include <poll.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
-#include <sys/time.h>
-#include <time.h>
#include "libavutil/log.h"
#include "libavutil/opt.h"
diff --git a/libavdevice/fbdev.c b/libavdevice/fbdev.c
index f79893a6d4..d789d41afa 100644
--- a/libavdevice/fbdev.c
+++ b/libavdevice/fbdev.c
@@ -32,7 +32,6 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
-#include <sys/time.h>
#include <sys/mman.h>
#include <time.h>
#include <linux/fb.h>
diff --git a/libavdevice/oss_audio.c b/libavdevice/oss_audio.c
index e592c32849..60432c5fc5 100644
--- a/libavdevice/oss_audio.c
+++ b/libavdevice/oss_audio.c
@@ -33,8 +33,6 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
-#include <sys/time.h>
-#include <sys/select.h>
#include "libavutil/log.h"
#include "libavutil/opt.h"
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index b9941d212c..2154b63aa2 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -42,7 +42,6 @@
#else
#include <linux/videodev2.h>
#endif
-#include <time.h>
#include "libavutil/imgutils.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 881a188161..e70b89ec9e 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -39,7 +39,6 @@
#if HAVE_POLL_H
#include <sys/poll.h>
#endif
-#include <sys/time.h>
#define RTP_TX_BUF_SIZE (64 * 1024)
#define RTP_RX_BUF_SIZE (128 * 1024)
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index a70ea04df2..76b5df8400 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -30,7 +30,6 @@
#include "avformat.h"
#include "avio_internal.h"
-#include <sys/time.h>
#if HAVE_POLL_H
#include <poll.h>
#endif
diff --git a/libavformat/rtspenc.c b/libavformat/rtspenc.c
index ad6e485906..c7fb2fa9d9 100644
--- a/libavformat/rtspenc.c
+++ b/libavformat/rtspenc.c
@@ -21,7 +21,6 @@
#include "avformat.h"
-#include <sys/time.h>
#if HAVE_POLL_H
#include <poll.h>
#endif
diff --git a/libavformat/sapdec.c b/libavformat/sapdec.c
index 46a4b96b93..e377cefda9 100644
--- a/libavformat/sapdec.c
+++ b/libavformat/sapdec.c
@@ -30,7 +30,6 @@
#if HAVE_POLL_H
#include <poll.h>
#endif
-#include <sys/time.h>
struct SAPState {
URLContext *ann_fd;
diff --git a/libavformat/sctp.c b/libavformat/sctp.c
index 817b0049a9..07de4986d2 100644
--- a/libavformat/sctp.c
+++ b/libavformat/sctp.c
@@ -39,7 +39,6 @@
#include <netinet/in.h>
#include <netinet/sctp.h>
-#include <sys/time.h>
#include <unistd.h>
#include "config.h"
diff --git a/libavformat/tcp.c b/libavformat/tcp.c
index f1bad847d0..e77e4c5231 100644
--- a/libavformat/tcp.c
+++ b/libavformat/tcp.c
@@ -28,7 +28,6 @@
#if HAVE_POLL_H
#include <poll.h>
#endif
-#include <sys/time.h>
typedef struct TCPContext {
int fd;
diff --git a/libavformat/udp.c b/libavformat/udp.c
index 0eaed1bfc8..39db263e12 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -35,7 +35,6 @@
#include "network.h"
#include "os_support.h"
#include "url.h"
-#include <sys/time.h>
#ifndef IPV6_ADD_MEMBERSHIP
#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c
index ed147eef3d..34f45eb2d1 100644
--- a/libavutil/parseutils.c
+++ b/libavutil/parseutils.c
@@ -21,7 +21,6 @@
* misc parsing utilities
*/
-#include <sys/time.h>
#include <time.h>
#include "avstring.h"