[5/5] Remove leftover includes of strings.h

Message ID 1320506745-26168-5-git-send-email-martin@martin.st
State Committed
Headers show

Commit Message

Martin Storsjö Nov. 5, 2011, 3:25 p.m.
---
 libavdevice/bktr.c        |    1 -
 libavdevice/dv1394.c      |    1 -
 libavdevice/v4l.c         |    1 -
 libavformat/os_support.c  |    1 -
 libavformat/rtpdec_latm.c |    1 -
 libavformat/wtv.c         |    1 -
 libavutil/dict.c          |    1 -
 7 files changed, 0 insertions(+), 7 deletions(-)

Comments

Anton Khirnov Nov. 6, 2011, 7:11 a.m. | #1
On Sat,  5 Nov 2011 17:25:45 +0200, Martin Storsjö <martin@martin.st> wrote:
> ---
>  libavdevice/bktr.c        |    1 -
>  libavdevice/dv1394.c      |    1 -
>  libavdevice/v4l.c         |    1 -
>  libavformat/os_support.c  |    1 -
>  libavformat/rtpdec_latm.c |    1 -
>  libavformat/wtv.c         |    1 -
>  libavutil/dict.c          |    1 -
>  7 files changed, 0 insertions(+), 7 deletions(-)
> 

The patchset looks fine to me.

Patch

diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c
index 8dd4e3a..1a8562c 100644
--- a/libavdevice/bktr.c
+++ b/libavdevice/bktr.c
@@ -47,7 +47,6 @@ 
 #include <sys/time.h>
 #include <signal.h>
 #include <stdint.h>
-#include <strings.h>
 
 typedef struct {
     AVClass *class;
diff --git a/libavdevice/dv1394.c b/libavdevice/dv1394.c
index 1ac9a81..69e59ec 100644
--- a/libavdevice/dv1394.c
+++ b/libavdevice/dv1394.c
@@ -28,7 +28,6 @@ 
 #include <sys/mman.h>
 #include <sys/time.h>
 #include <time.h>
-#include <strings.h>
 
 #include "libavutil/log.h"
 #include "libavutil/opt.h"
diff --git a/libavdevice/v4l.c b/libavdevice/v4l.c
index 5fc91d3..d848e2b 100644
--- a/libavdevice/v4l.c
+++ b/libavdevice/v4l.c
@@ -39,7 +39,6 @@ 
 #define _LINUX_TIME_H 1
 #include <linux/videodev.h>
 #include <time.h>
-#include <strings.h>
 
 typedef struct {
     AVClass *class;
diff --git a/libavformat/os_support.c b/libavformat/os_support.c
index c6715f3..889a005 100644
--- a/libavformat/os_support.c
+++ b/libavformat/os_support.c
@@ -71,7 +71,6 @@  int ff_win32_open(const char *filename_utf8, int oflag, int pmode)
 
 #if !HAVE_INET_ATON
 #include <stdlib.h>
-#include <strings.h>
 
 int ff_inet_aton (const char * str, struct in_addr * add)
 {
diff --git a/libavformat/rtpdec_latm.c b/libavformat/rtpdec_latm.c
index 42317a9..96f4e83 100644
--- a/libavformat/rtpdec_latm.c
+++ b/libavformat/rtpdec_latm.c
@@ -23,7 +23,6 @@ 
 #include "internal.h"
 #include "libavutil/avstring.h"
 #include "libavcodec/get_bits.h"
-#include <strings.h>
 
 struct PayloadContext {
     AVIOContext *dyn_buf;
diff --git a/libavformat/wtv.c b/libavformat/wtv.c
index cdb5c49..c3bc083 100644
--- a/libavformat/wtv.c
+++ b/libavformat/wtv.c
@@ -33,7 +33,6 @@ 
 #include "riff.h"
 #include "asf.h"
 #include "mpegts.h"
-#include <strings.h>
 
 /* Macros for formating GUIDs */
 #define PRI_GUID \
diff --git a/libavutil/dict.c b/libavutil/dict.c
index 3ea7e55..cb5f7b1 100644
--- a/libavutil/dict.c
+++ b/libavutil/dict.c
@@ -18,7 +18,6 @@ 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <strings.h>
 #include "avstring.h"
 #include "dict.h"
 #include "internal.h"