Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 948657 | Differences between
and this patch

Collapse All | Expand All

(-)a/lib/include/libv4l2.h (+4 lines)
Lines 63-69 LIBV4L_PUBLIC extern FILE *v4l2_log_file; Link Here
63
LIBV4L_PUBLIC int v4l2_open(const char *file, int oflag, ...);
63
LIBV4L_PUBLIC int v4l2_open(const char *file, int oflag, ...);
64
LIBV4L_PUBLIC int v4l2_close(int fd);
64
LIBV4L_PUBLIC int v4l2_close(int fd);
65
LIBV4L_PUBLIC int v4l2_dup(int fd);
65
LIBV4L_PUBLIC int v4l2_dup(int fd);
66
#ifdef HAVE_POSIX_IOCTL
67
LIBV4L_PUBLIC int v4l2_ioctl(int fd, int request, ...);
68
#else
66
LIBV4L_PUBLIC int v4l2_ioctl(int fd, unsigned long int request, ...);
69
LIBV4L_PUBLIC int v4l2_ioctl(int fd, unsigned long int request, ...);
70
#endif
67
LIBV4L_PUBLIC ssize_t v4l2_read(int fd, void *buffer, size_t n);
71
LIBV4L_PUBLIC ssize_t v4l2_read(int fd, void *buffer, size_t n);
68
LIBV4L_PUBLIC ssize_t v4l2_write(int fd, const void *buffer, size_t n);
72
LIBV4L_PUBLIC ssize_t v4l2_write(int fd, const void *buffer, size_t n);
69
LIBV4L_PUBLIC void *v4l2_mmap(void *start, size_t length, int prot, int flags,
73
LIBV4L_PUBLIC void *v4l2_mmap(void *start, size_t length, int prot, int flags,
(-)a/lib/libv4l2/libv4l2.c (+4 lines)
Lines 1051-1057 static int v4l2_s_fmt(int index, struct v4l2_format *dest_fmt) Link Here
1051
       return 0;
1051
       return 0;
1052
}
1052
}
1053
1053
1054
#ifdef HAVE_POSIX_IOCTL
1055
int v4l2_ioctl(int fd, int request, ...)
1056
#else
1054
int v4l2_ioctl(int fd, unsigned long int request, ...)
1057
int v4l2_ioctl(int fd, unsigned long int request, ...)
1058
#endif
1055
{
1059
{
1056
       void *arg;
1060
       void *arg;
1057
       va_list ap;
1061
       va_list ap;

Return to bug 948657