Andrew Talbot : advapi32: Replace inline static with static inline.
Alexandre Julliard
julliard at wine.codeweavers.com
Sat Mar 17 14:35:25 CDT 2007
Module: wine
Branch: master
Commit: a2e7c325f9bd1dd0347c27a42ddf74668941a9e1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a2e7c325f9bd1dd0347c27a42ddf74668941a9e1
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Sat Mar 17 10:15:11 2007 +0000
advapi32: Replace inline static with static inline.
---
dlls/advapi32/registry.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c
index 8a70f56..28689cd 100644
--- a/dlls/advapi32/registry.c
+++ b/dlls/advapi32/registry.c
@@ -86,13 +86,13 @@ static const WCHAR * const root_key_names[NB_SPECIAL_ROOT_KEYS] =
/* check if value type needs string conversion (Ansi<->Unicode) */
-inline static int is_string( DWORD type )
+static inline int is_string( DWORD type )
{
return (type == REG_SZ) || (type == REG_EXPAND_SZ) || (type == REG_MULTI_SZ);
}
/* check if current version is NT or Win95 */
-inline static int is_version_nt(void)
+static inline int is_version_nt(void)
{
return !(GetVersion() & 0x80000000);
}
@@ -136,7 +136,7 @@ static HKEY create_special_root_hkey( HANDLE hkey, DWORD access )
}
/* map the hkey from special root to normal key if necessary */
-inline static HKEY get_special_root_hkey( HKEY hkey )
+static inline HKEY get_special_root_hkey( HKEY hkey )
{
HKEY ret = hkey;
More information about the wine-cvs
mailing list