Fix compile failure on Sun C++ 5.7 in yaSSL code

 - Trying to use unctions declared as static being used from another file, change them to be inline
parent e4676ef6
...@@ -142,13 +142,13 @@ void FreeArrayMemory(T* ptr) ...@@ -142,13 +142,13 @@ void FreeArrayMemory(T* ptr)
static void* GetMemory(size_t bytes) inline void* GetMemory(size_t bytes)
{ {
return GetArrayMemory<unsigned char>(bytes); return GetArrayMemory<unsigned char>(bytes);
} }
static void FreeMemory(void* ptr) inline void FreeMemory(void* ptr)
{ {
FreeArrayMemory(ptr); FreeArrayMemory(ptr);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment