Avoid masking math.h exported variables
authorEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 19 Dec 2008 18:21:36 +0000 (18:21 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 19 Dec 2008 18:21:36 +0000 (18:21 +0000)
commit4e493d1937e6e68e394dcb8a0ae7671dcc6d39e1
tree22c3e95d62680fa9c0f30546948671e8223672e5
parent42bba13135d97babd5c0a0ce3b65836d077fbd5a
Avoid masking math.h exported variables

Our beloved math.h exports, from bits/mathcalls.h, a bare "y1" symbol.
Apparently, it's unthinkable for code including <math.h> to also declare
arguments or variable named "y0", "y1" and "yn".

Anyway, the quick fix already used elsewhere in Clutter's codebase is
to rename the colliding variables "y_0", "y_1" and "y_n" - and
obviously everything similar to them as well, using the same pattern.
clutter/clutter-path.c
clutter/clutter-path.h