History

Remove unnecessary inclusions of [sys/]time.h

Mans Rullgard committed 14 years ago

Commit 6501dcf1 parent 4e5a51414 files · +0 −16Browse files

Unified · Split

14 files
  1. avconv.c +0 −1
  2. avserver.c +0 −1
  3. libavdevice/dv1394.c +0 −2
  4. libavdevice/fbdev.c +0 −1
  5. libavdevice/oss_audio.c +0 −2
  6. libavdevice/v4l2.c +0 −1
  7. libavformat/rtpproto.c +0 −1
  8. libavformat/rtsp.c +0 −1
  9. libavformat/rtspenc.c +0 −1
  10. libavformat/sapdec.c +0 −1
  11. libavformat/sctp.c +0 −1
  12. libavformat/tcp.c +0 −1
  13. libavformat/udp.c +0 −1
  14. libavutil/parseutils.c +0 −1
avconv.c+0−1
@@ -55,7 +55,6 @@ · 54 unmodified lines
5555
5656 #if HAVE_SYS_RESOURCE_H
5757 #include <sys/types.h>
58−#include <sys/time.h>
5958 #include <sys/resource.h>
6059 #elif HAVE_GETPROCESSTIMES
6160 #include <windows.h>
avserver.c+0−1
@@ -51,7 +51,6 @@ · 50 unmodified lines
5151 #include <poll.h>
5252 #endif
5353 #include <errno.h>
54−#include <sys/time.h>
5554 #include <time.h>
5655 #include <sys/wait.h>
5756 #include <signal.h>
libavdevice/dv1394.c+0−2
@@ -26,8 +26,6 @@ · 25 unmodified lines
2626 #include <poll.h>
2727 #include <sys/ioctl.h>
2828 #include <sys/mman.h>
29−#include <sys/time.h>
30−#include <time.h>
3129
3230 #include "libavutil/log.h"
3331 #include "libavutil/opt.h"
libavdevice/fbdev.c+0−1
@@ -32,7 +32,6 @@ · 31 unmodified lines
3232 #include <unistd.h>
3333 #include <fcntl.h>
3434 #include <sys/ioctl.h>
35−#include <sys/time.h>
3635 #include <sys/mman.h>
3736 #include <time.h>
3837 #include <linux/fb.h>
libavdevice/oss_audio.c+0−2
@@ -33,8 +33,6 @@ · 32 unmodified lines
3333 #include <unistd.h>
3434 #include <fcntl.h>
3535 #include <sys/ioctl.h>
36−#include <sys/time.h>
37−#include <sys/select.h>
3836
3937 #include "libavutil/log.h"
4038 #include "libavutil/opt.h"
libavdevice/v4l2.c+0−1
@@ -42,7 +42,6 @@ · 41 unmodified lines
4242 #else
4343 #include <linux/videodev2.h>
4444 #endif
45−#include <time.h>
4645 #include "libavutil/imgutils.h"
4746 #include "libavutil/log.h"
4847 #include "libavutil/opt.h"
libavformat/rtpproto.c+0−1
@@ -39,7 +39,6 @@ · 38 unmodified lines
3939 #if HAVE_POLL_H
4040 #include <sys/poll.h>
4141 #endif
42−#include <sys/time.h>
4342
4443 #define RTP_TX_BUF_SIZE (64 * 1024)
4544 #define RTP_RX_BUF_SIZE (128 * 1024)
libavformat/rtsp.c+0−1
@@ -30,7 +30,6 @@ · 29 unmodified lines
3030 #include "avformat.h"
3131 #include "avio_internal.h"
3232
33−#include <sys/time.h>
3433 #if HAVE_POLL_H
3534 #include <poll.h>
3635 #endif
libavformat/rtspenc.c+0−1
@@ -21,7 +21,6 @@ · 20 unmodified lines
2121
2222 #include "avformat.h"
2323
24−#include <sys/time.h>
2524 #if HAVE_POLL_H
2625 #include <poll.h>
2726 #endif
libavformat/sapdec.c+0−1
@@ -30,7 +30,6 @@ · 29 unmodified lines
3030 #if HAVE_POLL_H
3131 #include <poll.h>
3232 #endif
33−#include <sys/time.h>
3433
3534 struct SAPState {
3635 URLContext *ann_fd;
libavformat/sctp.c+0−1
@@ -39,7 +39,6 @@ · 38 unmodified lines
3939
4040 #include <netinet/in.h>
4141 #include <netinet/sctp.h>
42−#include <sys/time.h>
4342 #include <unistd.h>
4443
4544 #include "config.h"
libavformat/tcp.c+0−1
@@ -28,7 +28,6 @@ · 27 unmodified lines
2828 #if HAVE_POLL_H
2929 #include <poll.h>
3030 #endif
31−#include <sys/time.h>
3231
3332 typedef struct TCPContext {
3433 int fd;
libavformat/udp.c+0−1
@@ -35,7 +35,6 @@ · 34 unmodified lines
3535 #include "network.h"
3636 #include "os_support.h"
3737 #include "url.h"
38−#include <sys/time.h>
3938
4039 #ifndef IPV6_ADD_MEMBERSHIP
4140 #define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
libavutil/parseutils.c+0−1
@@ -21,7 +21,6 @@ · 20 unmodified lines
2121 * misc parsing utilities
2222 */
2323
24−#include <sys/time.h>
2524 #include <time.h>
2625
2726 #include "avstring.h"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t