Re: [media-ctl PATCH] Add missing stdlib.h and ctype.h includes

2013-03-25 Thread Laurent Pinchart
Hi Andreas,

Thanks for the patch, and sorry for the late reply.

On Monday 18 February 2013 01:12:44 Andreas Bombe wrote:
 src/mediactl.c needs ctype.h for its use of isspace().
 
 src/v4l2subdev.c needs stdlib.h for strtoul() and ctype.h for isspace()
 and isupper().
 
 Signed-off-by: Andreas Bombe a...@debian.org

Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com

and pushed to the repository.

 ---
  src/mediactl.c   |1 +
  src/v4l2subdev.c |2 ++
  2 files changed, 3 insertions(+)
 
 diff --git a/src/mediactl.c b/src/mediactl.c
 index 46562de..c2f985a 100644
 --- a/src/mediactl.c
 +++ b/src/mediactl.c
 @@ -29,6 +29,7 @@
  #include stdbool.h
  #include stdio.h
  #include stdlib.h
 +#include ctype.h
  #include string.h
  #include fcntl.h
  #include errno.h
 diff --git a/src/v4l2subdev.c b/src/v4l2subdev.c
 index d0c37f3..87d7eb7 100644
 --- a/src/v4l2subdev.c
 +++ b/src/v4l2subdev.c
 @@ -26,6 +26,8 @@
  #include errno.h
  #include fcntl.h
  #include stdbool.h
 +#include stdlib.h
 +#include ctype.h
  #include stdio.h
  #include string.h
  #include unistd.h
-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[media-ctl PATCH] Add missing stdlib.h and ctype.h includes

2013-02-17 Thread Andreas Bombe
src/mediactl.c needs ctype.h for its use of isspace().

src/v4l2subdev.c needs stdlib.h for strtoul() and ctype.h for isspace()
and isupper().

Signed-off-by: Andreas Bombe a...@debian.org
---
 src/mediactl.c   |1 +
 src/v4l2subdev.c |2 ++
 2 files changed, 3 insertions(+)

diff --git a/src/mediactl.c b/src/mediactl.c
index 46562de..c2f985a 100644
--- a/src/mediactl.c
+++ b/src/mediactl.c
@@ -29,6 +29,7 @@
 #include stdbool.h
 #include stdio.h
 #include stdlib.h
+#include ctype.h
 #include string.h
 #include fcntl.h
 #include errno.h
diff --git a/src/v4l2subdev.c b/src/v4l2subdev.c
index d0c37f3..87d7eb7 100644
--- a/src/v4l2subdev.c
+++ b/src/v4l2subdev.c
@@ -26,6 +26,8 @@
 #include errno.h
 #include fcntl.h
 #include stdbool.h
+#include stdlib.h
+#include ctype.h
 #include stdio.h
 #include string.h
 #include unistd.h
-- 
1.7.10.4
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html