Commit f2b6313336dce808a34a656d6c0910adc1679744
Exists in
master
and in
3 other branches
Merge branch 'develop' into network_module
Showing
2 changed files
with
8 additions
and
6 deletions
Show diff stats
src/core/windows/util.c
src/include/windows/lib3270/os.h
... | ... | @@ -41,11 +41,6 @@ |
41 | 41 | #include <winsock2.h> |
42 | 42 | #include <windows.h> |
43 | 43 | |
44 | - inline void lib3270_autoptr_cleanup_HKEY(HKEY *hKey) { | |
45 | - if(*hKey) { | |
46 | - RegCloseKey(*hKey); | |
47 | - *hKey = 0; | |
48 | - } | |
49 | - } | |
44 | + LIB3270_EXPORT void lib3270_autoptr_cleanup_HKEY(HKEY *hKey); | |
50 | 45 | |
51 | 46 | #endif // LIB3270_OS_H_INCLUDED | ... | ... |