+respected proper function calling types cdecl/stdcall/fastcall
[captive.git] / src / libcaptive / mm / pool.c
index 53d7b7a..36224c8 100644 (file)
@@ -41,7 +41,7 @@
  * Returns: Memory block base if successfuly allocated. %NULL otherwise.
  * The allocated memory block is not cleared.
  */
-PVOID STDCALL ExAllocatePoolWithTag(ULONG PoolType,ULONG NumberOfBytes,ULONG Tag)
+PVOID ExAllocatePoolWithTag(ULONG PoolType,ULONG NumberOfBytes,ULONG Tag)
 {
        if (!NumberOfBytes)
                return NULL;
@@ -61,7 +61,7 @@ PVOID STDCALL ExAllocatePoolWithTag(ULONG PoolType,ULONG NumberOfBytes,ULONG Tag
  * Returns: Memory block base if successfuly allocated. %NULL otherwise.
  * The allocated memory block is not cleared.
  */
-PVOID STDCALL ExAllocatePool(POOL_TYPE PoolType,ULONG NumberOfBytes)
+PVOID ExAllocatePool(POOL_TYPE PoolType,ULONG NumberOfBytes)
 {
        return ExAllocatePoolWithTag(PoolType,NumberOfBytes,
                        0);     /* Tag; reactos uses TAG_NONE ('None') but it is not documented for W32 */
@@ -75,7 +75,7 @@ PVOID STDCALL ExAllocatePool(POOL_TYPE PoolType,ULONG NumberOfBytes)
  * allocated by a previous ExAllocatePool() or ExAllocatePoolWithTag() call.
  * You can no longer assume anything about this base address / memory block.
  */
-VOID STDCALL ExFreePool(IN PVOID Block)
+VOID ExFreePool(IN PVOID Block)
 {
        g_return_if_fail(Block!=NULL);