Module: wine Branch: master Commit: 453cb25c1b8d6d24773bd618675ab67a1ca95b77 URL: http://source.winehq.org/git/wine.git/?a=commit;h=453cb25c1b8d6d24773bd61867...
Author: Andrew Talbot Andrew.Talbot@talbotville.com Date: Tue Mar 20 17:42:59 2007 +0000
gdi32: Replace inline static with static inline.
---
dlls/gdi32/freetype.c | 6 +++--- dlls/gdi32/gdiobj.c | 6 +++--- dlls/gdi32/region.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index 1f90a87..31b3429 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -1832,7 +1832,7 @@ static const struct nls_update_font_list } };
-inline static HKEY create_fonts_NT_registry_key(void) +static inline HKEY create_fonts_NT_registry_key(void) { HKEY hkey = 0;
@@ -1841,7 +1841,7 @@ inline static HKEY create_fonts_NT_registry_key(void) return hkey; }
-inline static HKEY create_fonts_9x_registry_key(void) +static inline HKEY create_fonts_9x_registry_key(void) { HKEY hkey = 0;
@@ -1850,7 +1850,7 @@ inline static HKEY create_fonts_9x_registry_key(void) return hkey; }
-inline static HKEY create_config_fonts_registry_key(void) +static inline HKEY create_config_fonts_registry_key(void) { HKEY hkey = 0;
diff --git a/dlls/gdi32/gdiobj.c b/dlls/gdi32/gdiobj.c index 54b69b5..2440b2d 100644 --- a/dlls/gdi32/gdiobj.c +++ b/dlls/gdi32/gdiobj.c @@ -528,7 +528,7 @@ static DWORD get_dpi( void ) * * Increment the reference count of a GDI object. */ -inline static void inc_ref_count( HGDIOBJ handle ) +static inline void inc_ref_count( HGDIOBJ handle ) { GDIOBJHDR *header;
@@ -545,7 +545,7 @@ inline static void inc_ref_count( HGDIOBJ handle ) * * Decrement the reference count of a GDI object. */ -inline static void dec_ref_count( HGDIOBJ handle ) +static inline void dec_ref_count( HGDIOBJ handle ) { GDIOBJHDR *header;
@@ -638,7 +638,7 @@ static int next_large_handle; * * Allocate a GDI handle from the large heap. Helper for GDI_AllocObject */ -inline static GDIOBJHDR *alloc_large_heap( WORD size, HGDIOBJ *handle ) +static inline GDIOBJHDR *alloc_large_heap( WORD size, HGDIOBJ *handle ) { int i; GDIOBJHDR *obj; diff --git a/dlls/gdi32/region.c b/dlls/gdi32/region.c index 2df7b74..ac92581 100644 --- a/dlls/gdi32/region.c +++ b/dlls/gdi32/region.c @@ -454,7 +454,7 @@ static void REGION_UnionRectWithRegion(const RECT *rect, WINEREGION *rgn); /*********************************************************************** * get_region_type */ -inline static INT get_region_type( const RGNOBJ *obj ) +static inline INT get_region_type( const RGNOBJ *obj ) { switch(obj->rgn->numRects) {