summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-17 08:00:16 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-17 08:00:16 -0300
commit90b871ba1cd9b24da39c1cf0a397f60080917dff (patch)
tree83edc8d2e9ca6f297a0fe64d7f9b11c118b6dd5d
parent01e2ad77614e339b1152ee338061c9330d2e5243 (diff)
downloadmediapointer-dvb-s2-90b871ba1cd9b24da39c1cf0a397f60080917dff.tar.gz
mediapointer-dvb-s2-90b871ba1cd9b24da39c1cf0a397f60080917dff.tar.bz2
Remove some bad dependencies at userspace
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, #define __user is not needed at userspace. Also, including linux/types.h is already inside videodev2. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--test/ioctl-test.c1
-rw-r--r--test/sliced-vbi-detect.c2
-rw-r--r--test/sliced-vbi-test.c2
-rw-r--r--test/vbi-test.c1
4 files changed, 0 insertions, 6 deletions
diff --git a/test/ioctl-test.c b/test/ioctl-test.c
index 5050e2f52..4b47cd9e7 100644
--- a/test/ioctl-test.c
+++ b/test/ioctl-test.c
@@ -36,7 +36,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <fcntl.h>
-//#define __user
#include "../linux/include/linux/videodev.h"
#ifdef INTERNAL
diff --git a/test/sliced-vbi-detect.c b/test/sliced-vbi-detect.c
index 9e2a3b2c5..22c9c2461 100644
--- a/test/sliced-vbi-detect.c
+++ b/test/sliced-vbi-detect.c
@@ -39,9 +39,7 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include <math.h>
-#include <linux/types.h>
-#define __user
#include <linux/videodev2.h>
static void detect(int fh, struct v4l2_sliced_vbi_format *fmt)
diff --git a/test/sliced-vbi-test.c b/test/sliced-vbi-test.c
index ae4e1b27d..3b4a7fc8f 100644
--- a/test/sliced-vbi-test.c
+++ b/test/sliced-vbi-test.c
@@ -37,9 +37,7 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include <math.h>
-#include <linux/types.h>
-#define __user
#include <linux/videodev2.h>
#define printable(c) ((((c) & 0x7F) < 0x20 || ((c) & 0x7F) > 0x7E) ? '.' : ((c) & 0x7F))
diff --git a/test/vbi-test.c b/test/vbi-test.c
index 27fd7a528..c1a141bff 100644
--- a/test/vbi-test.c
+++ b/test/vbi-test.c
@@ -25,7 +25,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <fcntl.h>
-#define __user
#include <linux/videodev.h>
/* All possible parameters used on v4l ioctls */