Dmitry Timoshkov : gdi32: Make PATH_AddEntry static.

Alexandre Julliard julliard at winehq.org
Wed Dec 3 05:56:34 CST 2008


Module: wine
Branch: master
Commit: 1669b337e490562c2db05bac4cbae89c6caf908e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1669b337e490562c2db05bac4cbae89c6caf908e

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Wed Dec  3 13:26:24 2008 +0800

gdi32: Make PATH_AddEntry static.

---

 dlls/gdi32/gdi_private.h |    1 -
 dlls/gdi32/path.c        |    3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/gdi32/gdi_private.h b/dlls/gdi32/gdi_private.h
index 325c708..ba07217 100644
--- a/dlls/gdi32/gdi_private.h
+++ b/dlls/gdi32/gdi_private.h
@@ -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_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_AddEntry(GdiPath *pPath, const POINT *pPoint, BYTE flags) DECLSPEC_HIDDEN;
 
 /* painting.c */
 extern POINT *GDI_Bezier( const POINT *Points, INT count, INT *nPtsOut ) DECLSPEC_HIDDEN;
diff --git a/dlls/gdi32/path.c b/dlls/gdi32/path.c
index 1e953cb..8df8a1b 100644
--- a/dlls/gdi32/path.c
+++ b/dlls/gdi32/path.c
@@ -92,6 +92,7 @@ typedef struct tagFLOAT_POINT
 } FLOAT_POINT;
 
 
+static BOOL PATH_AddEntry(GdiPath *pPath, const POINT *pPoint, BYTE flags);
 static BOOL PATH_PathToRegion(GdiPath *pPath, INT nPolyFillMode,
    HRGN *pHrgn);
 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
  * 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);
 




More information about the wine-cvs mailing list