Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2016-01-21 17:12:12 +0300
committerJan Vorlicek <janvorli@microsoft.com>2016-01-27 03:49:33 +0300
commit145d9a2ee7f4375ff8059ce546c7cce54f652cba (patch)
tree73541f8e4112cabd65c7a398522ca95152dc914d /src/Native/Runtime/PalRedhawkFunctions.h
parentbcf485f89a8cbbf84cef236d8e37e5e4bf5bdab3 (diff)
Implement several minor PAL functions
This change implements GetEnvironmentVariableA, PalReadFileContents and changes PalGetCurrentProcessorNumber to work on all platforms that have sched_getcpu instead of just Linux (it is done the same way in CoreCLR). I've also removed one unused function and one prototype.
Diffstat (limited to 'src/Native/Runtime/PalRedhawkFunctions.h')
-rw-r--r--src/Native/Runtime/PalRedhawkFunctions.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Native/Runtime/PalRedhawkFunctions.h b/src/Native/Runtime/PalRedhawkFunctions.h
index 5ec7b8094..d15c46bd1 100644
--- a/src/Native/Runtime/PalRedhawkFunctions.h
+++ b/src/Native/Runtime/PalRedhawkFunctions.h
@@ -75,12 +75,6 @@ inline UInt32_BOOL PalFlsSetValue(UInt32 arg1, void * arg2)
return FlsSetValue(arg1, arg2);
}
-extern "C" UInt32_BOOL __stdcall FlushFileBuffers(HANDLE);
-inline UInt32_BOOL PalFlushFileBuffers(HANDLE arg1)
-{
- return FlushFileBuffers(arg1);
-}
-
extern "C" void __stdcall FlushProcessWriteBuffers();
inline void PalFlushProcessWriteBuffers()
{