From a085ba82bde375b5c884a40b410b563815c58a9e Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 23 May 2014 11:55:05 -0400 Subject: mi: Unexport span group implementation details Reviewed-by: Keith Packard Signed-off-by: Adam Jackson --- mi/Makefile.am | 2 +- mi/mispans.h | 20 ++++++++------------ 2 files changed, 9 insertions(+), 13 deletions(-) (limited to 'mi') diff --git a/mi/Makefile.am b/mi/Makefile.am index 526f4bbf6..b93a8f916 100644 --- a/mi/Makefile.am +++ b/mi/Makefile.am @@ -3,7 +3,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 \ - mispans.h mistruct.h mifpoly.h mioverlay.h + mistruct.h mifpoly.h mioverlay.h endif AM_CFLAGS = $(DIX_CFLAGS) diff --git a/mi/mispans.h b/mi/mispans.h index f3148ff19..7c3fcef7e 100644 --- a/mi/mispans.h +++ b/mi/mispans.h @@ -61,24 +61,20 @@ typedef struct { } SpanGroup; /* Initialize SpanGroup. MUST BE DONE before use. */ -extern _X_EXPORT void miInitSpanGroup(SpanGroup * /*spanGroup */ - ); +extern void miInitSpanGroup(SpanGroup * /*spanGroup */); /* Add a Spans to a SpanGroup. The spans MUST BE in y-sorted order */ -extern _X_EXPORT void miAppendSpans(SpanGroup * /*spanGroup */ , - SpanGroup * /*otherGroup */ , - Spans * /*spans */ - ); +extern void miAppendSpans(SpanGroup * /*spanGroup */ , + SpanGroup * /*otherGroup */ , + Spans * /*spans */); /* Paint a span group, insuring that each pixel is painted at most once */ -extern _X_EXPORT void miFillUniqueSpanGroup(DrawablePtr /*pDraw */ , - GCPtr /*pGC */ , - SpanGroup * /*spanGroup */ - ); +extern void miFillUniqueSpanGroup(DrawablePtr /*pDraw */ , + GCPtr /*pGC */ , + SpanGroup * /*spanGroup */); /* Free up data in a span group. MUST BE DONE or you'll suffer memory leaks */ -extern _X_EXPORT void miFreeSpanGroup(SpanGroup * /*spanGroup */ - ); +extern void miFreeSpanGroup(SpanGroup * /*spanGroup */); /* Rops which must use span groups */ #define miSpansCarefulRop(rop) (((rop) & 0xc) == 0x8 || ((rop) & 0x3) == 0x2) -- cgit v1.2.3