aboutsummaryrefslogtreecommitdiffstats
path: root/libc/kernel/uapi/linux/v4l2-dv-timings.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-11-05 14:54:29 -0800
committerElliott Hughes <enh@google.com>2013-11-06 12:04:48 -0800
commit40596aa0054bcfa76148f55321bf4b979e2242be (patch)
tree5e7f3d342b548177c5fb486878477ccfe5708f03 /libc/kernel/uapi/linux/v4l2-dv-timings.h
parentf1258672d1eed41da30612a70690c19ff1966b73 (diff)
downloadandroid_bionic-40596aa0054bcfa76148f55321bf4b979e2242be.tar.gz
android_bionic-40596aa0054bcfa76148f55321bf4b979e2242be.tar.bz2
android_bionic-40596aa0054bcfa76148f55321bf4b979e2242be.zip
Make cpp.py less braindead.
The old code ignored operator precedence (!), despite having two tables of operator precedence. The code's still pretty awful, but I've cleaned it up enough to fix this, the most important bug. This patch lets us correctly clean the uapi unistd.h, stat.h, and swab.h files, and also fixes the mess we were already making of various old kernel header files. I've added a bunch more tests, fixed the existing tests that the existing script was already failing (!), and changed the script so that the tests are run every time the script is run. We can probably remove some of the old kernel header files that we were parsing incorrectly, but we can worry about that later. Bug: 11253477 Change-Id: Ie66c65b3a7ae13b4e98ed8038a6a534f06eae0e5
Diffstat (limited to 'libc/kernel/uapi/linux/v4l2-dv-timings.h')
-rw-r--r--libc/kernel/uapi/linux/v4l2-dv-timings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/kernel/uapi/linux/v4l2-dv-timings.h b/libc/kernel/uapi/linux/v4l2-dv-timings.h
index 803850f63..2c9ec8941 100644
--- a/libc/kernel/uapi/linux/v4l2-dv-timings.h
+++ b/libc/kernel/uapi/linux/v4l2-dv-timings.h
@@ -18,7 +18,7 @@
****************************************************************************/
#ifndef _V4L2_DV_TIMINGS_H
#define _V4L2_DV_TIMINGS_H
-#if __GNUC__ < (4 || __GNUC__ == (4 && __GNUC_MINOR__ < 6))
+#if __GNUC__ < 4 || __GNUC__ == 4 && __GNUC_MINOR__ < 6
#define V4L2_INIT_BT_TIMINGS(_width, args...) { .bt = { _width , ## args } }
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#else