Module: wine Branch: master Commit: af468590f7d312d759e14dc704395f27cf58e769 URL: http://source.winehq.org/git/wine.git/?a=commit;h=af468590f7d312d759e14dc704...
Author: Sebastian Lackner sebastian@fds-team.de Date: Mon Aug 29 14:06:57 2016 +0200
shell32: Remove some unused static inline functions.
Signed-off-by: Sebastian Lackner sebastian@fds-team.de Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/shell32/shell32_main.h | 18 ------------------ 1 file changed, 18 deletions(-)
diff --git a/dlls/shell32/shell32_main.h b/dlls/shell32/shell32_main.h index 0178e10..4b8c7cb 100644 --- a/dlls/shell32/shell32_main.h +++ b/dlls/shell32/shell32_main.h @@ -161,24 +161,6 @@ static inline BOOL SHELL_OsIsUnicode(void) SHFree(*ptr); \ *ptr = NULL; \ }; -static inline void __SHCloneStrA(char ** target,const char * source) -{ - *target = SHAlloc(strlen(source)+1); - strcpy(*target, source); -} - -static inline void __SHCloneStrWtoA(char ** target, const WCHAR * source) -{ - int len = WideCharToMultiByte(CP_ACP, 0, source, -1, NULL, 0, NULL, NULL); - *target = SHAlloc(len); - WideCharToMultiByte(CP_ACP, 0, source, -1, *target, len, NULL, NULL); -} - -static inline void __SHCloneStrW(WCHAR ** target, const WCHAR * source) -{ - *target = SHAlloc( (lstrlenW(source)+1) * sizeof(WCHAR) ); - lstrcpyW(*target, source); -}
static inline WCHAR * __SHCloneStrAtoW(WCHAR ** target, const char * source) {