gdi32: Make PATH_AddEntry static.

This commit is contained in:
Dmitry Timoshkov 2008-12-03 13:26:24 +08:00 committed by Alexandre Julliard
parent acac1a5b10
commit 1669b337e4
2 changed files with 2 additions and 2 deletions

View File

@ -511,7 +511,6 @@ extern BOOL PATH_Polygon(DC *dc, const POINT *pt, DWORD cbCount) DECLSPEC_HIDDEN
extern BOOL PATH_PolyPolyline(DC *dc, const POINT *pt, const DWORD *counts, DWORD polylines) DECLSPEC_HIDDEN; extern BOOL PATH_PolyPolyline(DC *dc, const POINT *pt, const DWORD *counts, DWORD polylines) DECLSPEC_HIDDEN;
extern BOOL PATH_PolyPolygon(DC *dc, const POINT *pt, const INT *counts, UINT polygons) DECLSPEC_HIDDEN; extern BOOL PATH_PolyPolygon(DC *dc, const POINT *pt, const INT *counts, UINT polygons) DECLSPEC_HIDDEN;
extern BOOL PATH_RoundRect(DC *dc, INT x1, INT y1, INT x2, INT y2, INT ell_width, INT ell_height) DECLSPEC_HIDDEN; extern BOOL PATH_RoundRect(DC *dc, INT x1, INT y1, INT x2, INT y2, INT ell_width, INT ell_height) DECLSPEC_HIDDEN;
extern BOOL PATH_AddEntry(GdiPath *pPath, const POINT *pPoint, BYTE flags) DECLSPEC_HIDDEN;
/* painting.c */ /* painting.c */
extern POINT *GDI_Bezier( const POINT *Points, INT count, INT *nPtsOut ) DECLSPEC_HIDDEN; extern POINT *GDI_Bezier( const POINT *Points, INT count, INT *nPtsOut ) DECLSPEC_HIDDEN;

View File

@ -92,6 +92,7 @@ typedef struct tagFLOAT_POINT
} FLOAT_POINT; } FLOAT_POINT;
static BOOL PATH_AddEntry(GdiPath *pPath, const POINT *pPoint, BYTE flags);
static BOOL PATH_PathToRegion(GdiPath *pPath, INT nPolyFillMode, static BOOL PATH_PathToRegion(GdiPath *pPath, INT nPolyFillMode,
HRGN *pHrgn); HRGN *pHrgn);
static void PATH_EmptyPath(GdiPath *pPath); static void PATH_EmptyPath(GdiPath *pPath);
@ -1502,7 +1503,7 @@ static void PATH_EmptyPath(GdiPath *pPath)
* or PT_BEZIERTO, optionally ORed with PT_CLOSEFIGURE. Returns TRUE if * or PT_BEZIERTO, optionally ORed with PT_CLOSEFIGURE. Returns TRUE if
* successful, FALSE otherwise (e.g. if not enough memory was available). * successful, FALSE otherwise (e.g. if not enough memory was available).
*/ */
BOOL PATH_AddEntry(GdiPath *pPath, const POINT *pPoint, BYTE flags) static BOOL PATH_AddEntry(GdiPath *pPath, const POINT *pPoint, BYTE flags)
{ {
assert(pPath!=NULL); assert(pPath!=NULL);