comparison configure @ 29813:ae5c747e9a0a

Remove a pointless undeclared function reference, #error is assumed to be enough to fail cc_check all over the place already.
author reimar
date Sun, 08 Nov 2009 15:41:40 +0000
parents 0cc6fcd342fd
children 3ba8ad9fef27
comparison
equal deleted inserted replaced
29812:54aafbe45eb4 29813:ae5c747e9a0a
5373 #include <linux/videodev2.h> 5373 #include <linux/videodev2.h>
5374 #include <linux/version.h> 5374 #include <linux/version.h>
5375 int main(void) { 5375 int main(void) {
5376 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22) 5376 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
5377 #error kernel headers too old, need 2.6.22 5377 #error kernel headers too old, need 2.6.22
5378 bad_kernel_version();
5379 #endif 5378 #endif
5380 struct v4l2_ext_controls ctrls; 5379 struct v4l2_ext_controls ctrls;
5381 ctrls.ctrl_class = V4L2_CTRL_CLASS_MPEG; 5380 ctrls.ctrl_class = V4L2_CTRL_CLASS_MPEG;
5382 return 0; 5381 return 0;
5383 } 5382 }