diff options
author | Adam Jackson <ajax@redhat.com> | 2014-05-23 12:10:29 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2014-10-27 15:45:21 -0400 |
commit | 707965407a3c907058b89610e73e02989fd0b552 (patch) | |
tree | 2876887285c722f90fb01c6bb6c029226bb9d0a1 /mi | |
parent | ce8fff5cd681523088c14b97ce4fb6e4fb658321 (diff) |
mi: Unexport arc fill implementation details
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'mi')
-rw-r--r-- | mi/Makefile.am | 2 | ||||
-rw-r--r-- | mi/mifillarc.c | 4 | ||||
-rw-r--r-- | mi/mifillarc.h | 9 |
3 files changed, 3 insertions, 12 deletions
diff --git a/mi/Makefile.am b/mi/Makefile.am index b24302952..4466f694d 100644 --- a/mi/Makefile.am +++ b/mi/Makefile.am @@ -2,7 +2,7 @@ noinst_LTLIBRARIES = libmi.la if XORG sdk_HEADERS = micmap.h miline.h mipointer.h mi.h \ - migc.h mipointrst.h mizerarc.h micoord.h mifillarc.h \ + migc.h mipointrst.h mizerarc.h micoord.h \ mistruct.h mioverlay.h endif diff --git a/mi/mifillarc.c b/mi/mifillarc.c index 08484d703..9a5e785e5 100644 --- a/mi/mifillarc.c +++ b/mi/mifillarc.c @@ -51,7 +51,7 @@ Author: Bob Scheifler, MIT X Consortium #define Dsin(d) sin((double)d*(M_PI/11520.0)) #define Dcos(d) cos((double)d*(M_PI/11520.0)) -void +static void miFillArcSetup(xArc * arc, miFillArcRec * info) { info->y = arc->height >> 1; @@ -277,7 +277,7 @@ miGetPieEdge(xArc * arc, int angle, miSliceEdgePtr edge, Bool top, Bool left) miGetArcEdge(arc, edge, k, top, left); } -void +static void miFillArcSliceSetup(xArc * arc, miArcSliceRec * slice, GCPtr pGC) { int angle1, angle2; diff --git a/mi/mifillarc.h b/mi/mifillarc.h index 1478d1850..61ab2538d 100644 --- a/mi/mifillarc.h +++ b/mi/mifillarc.h @@ -175,13 +175,4 @@ typedef struct _miArcSlice { #define miFillInArcLower(slw) (((iny + dy) != 0) && \ ((slw > 1) || (ine != inxk))) -extern _X_EXPORT void miFillArcSetup(xArc * /*arc */ , - miFillArcRec * /*info */ - ); - -extern _X_EXPORT void miFillArcSliceSetup(xArc * /*arc */ , - miArcSliceRec * /*slice */ , - GCPtr /*pGC */ - ); - #endif /* __MIFILLARC_H__ */ |