summaryrefslogtreecommitdiff
path: root/mi/mifillarc.h
diff options
context:
space:
mode:
Diffstat (limited to 'mi/mifillarc.h')
-rw-r--r--mi/mifillarc.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/mi/mifillarc.h b/mi/mifillarc.h
index 63071bbd1..ed8503f15 100644
--- a/mi/mifillarc.h
+++ b/mi/mifillarc.h
@@ -1,3 +1,4 @@
+/* $XFree86: xc/programs/Xserver/mi/mifillarc.h,v 3.7 2001/12/14 20:00:22 dawes Exp $ */
/************************************************************
Copyright 1989, 1998 The Open Group
@@ -26,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
/* $Xorg: mifillarc.h,v 1.4 2001/02/09 02:05:20 xorgcvs Exp $ */
+#ifndef __MIFILLARC_H__
+#define __MIFILLARC_H__
+
#define FULLCIRCLE (360 * 64)
typedef struct _miFillArc {
@@ -175,34 +179,25 @@ typedef struct _miArcSlice {
((slw > 1) || (ine != inxk)))
extern int miFreeArcCache(
-#if NeedFunctionPrototypes
pointer /*data*/,
XID /*id*/
-#endif
);
extern struct finalSpan *realAllocSpan(
-#if NeedFunctionPrototypes
void
-#endif
);
extern void miFillArcSetup(
-#if NeedFunctionPrototypes
xArc * /*arc*/,
miFillArcRec * /*info*/
-#endif
);
extern void miFillArcDSetup(
-#if NeedFunctionPrototypes
xArc * /*arc*/,
miFillArcDRec * /*info*/
-#endif
);
extern void miEllipseAngleToSlope(
-#if NeedFunctionPrototypes
int /*angle*/,
int /*width*/,
int /*height*/,
@@ -210,14 +205,12 @@ extern void miEllipseAngleToSlope(
int * /*dyp*/,
double * /*d_dxp*/,
double * /*d_dyp*/
-#endif
);
extern void miFillArcSliceSetup(
-#if NeedFunctionPrototypes
xArc * /*arc*/,
miArcSliceRec * /*slice*/,
GCPtr /*pGC*/
-#endif
);
+#endif /* __MIFILLARC_H__ */