summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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 */