diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:22 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:22 +0000 |
commit | d568221710959cf7d783e6ff0fb80fb43a231124 (patch) | |
tree | 8d6f039393294c6ffac8533639afdebe5d68bfc1 /mi/mifpoly.h | |
parent | 9508a382f8a9f241dab097d921b6d290c1c3a776 (diff) |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'mi/mifpoly.h')
-rw-r--r-- | mi/mifpoly.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mi/mifpoly.h b/mi/mifpoly.h index bb923e2b6..837cf7b20 100644 --- a/mi/mifpoly.h +++ b/mi/mifpoly.h @@ -45,6 +45,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ +/* $XFree86: xc/programs/Xserver/mi/mifpoly.h,v 1.4 2001/12/14 20:00:22 dawes Exp $ */ + +#ifndef __MIFPOLY_H__ +#define __MIFPOLY_H__ #define EPSILON 0.000001 #define ISEQUAL(a,b) (Fabs((a) - (b)) <= EPSILON) @@ -68,8 +72,7 @@ SOFTWARE. #define ICEIL(x) ((int)ceil(x)) #else #ifdef __GNUC__ -static __inline int ICEIL(x) - double x; +static __inline int ICEIL(double x) { int _cTmp = x; return ((x == _cTmp) || (x < 0.0)) ? _cTmp : _cTmp+1; @@ -95,7 +98,6 @@ typedef struct _SppArc { /* mifpolycon.c */ extern void miFillSppPoly( -#if NeedFunctionPrototypes DrawablePtr /*dst*/, GCPtr /*pgc*/, int /*count*/, @@ -104,5 +106,6 @@ extern void miFillSppPoly( int /*yTrans*/, double /*xFtrans*/, double /*yFtrans*/ -#endif ); + +#endif /* __MIFPOLY_H__ */ |