From 30030e14aabf0fe5e5c35606d906e5fac28c5d03 Mon Sep 17 00:00:00 2001 From: weihs Date: Sun, 9 Nov 2003 19:44:11 +0000 Subject: [PATCH] sync with driver version of this file git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@136 53a565d1-3bb7-0310-b661-cf11e63c67ab --- src/ieee1394-ioctl.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ieee1394-ioctl.h b/src/ieee1394-ioctl.h index 24ef3b3..f92b566 100644 --- a/src/ieee1394-ioctl.h +++ b/src/ieee1394-ioctl.h @@ -60,9 +60,13 @@ _IOWR('#', 0x14, struct video1394_mmap) #define VIDEO1394_IOC_UNTALK_CHANNEL \ _IOW ('#', 0x15, int) +/* + * This one is broken: it really wanted + * "sizeof (struct video1394_wait) + sizeof (struct video1394_queue_variable)" + * but got just a "size_t" + */ #define VIDEO1394_IOC_TALK_QUEUE_BUFFER \ - _IOW ('#', 0x16, sizeof (struct video1394_wait) + \ - sizeof (struct video1394_queue_variable)) + _IOW ('#', 0x16, size_t) #define VIDEO1394_IOC_TALK_WAIT_BUFFER \ _IOW ('#', 0x17, struct video1394_wait) #define VIDEO1394_IOC_LISTEN_POLL_BUFFER \