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

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2000-10-02 12:31:07 +0400
committerCorinna Vinschen <corinna@vinschen.de>2000-10-02 12:31:07 +0400
commit2f696b4bdb81874f43fb9dcc759a0af7490117b8 (patch)
tree6340d3a793f527baf7ac71910cb13553bce6c169 /winsup/cygwin/fhandler_mem.cc
parent9fc09d00f7579eab987fabffbe14fdb210a45637 (diff)
* fhandler_mem.cc (load_ntdll_funcs): Add missing __stdcall qualifiers.
Diffstat (limited to 'winsup/cygwin/fhandler_mem.cc')
-rw-r--r--winsup/cygwin/fhandler_mem.cc16
1 files changed, 9 insertions, 7 deletions
diff --git a/winsup/cygwin/fhandler_mem.cc b/winsup/cygwin/fhandler_mem.cc
index 7d26bd469..1d7439b31 100644
--- a/winsup/cygwin/fhandler_mem.cc
+++ b/winsup/cygwin/fhandler_mem.cc
@@ -55,37 +55,39 @@ load_ntdll_funcs ()
goto out;
}
- if (!(NtMapViewOfSection = (NTSTATUS (*)(HANDLE,HANDLE,PVOID*,ULONG,ULONG,
- PLARGE_INTEGER,PULONG,
- SECTION_INHERIT,ULONG,ULONG))
+ if (!(NtMapViewOfSection = (NTSTATUS (__stdcall *)(HANDLE,HANDLE,PVOID*,ULONG,
+ ULONG,PLARGE_INTEGER,
+ PULONG,SECTION_INHERIT,
+ ULONG,ULONG))
GetProcAddress (ntdll, "NtMapViewOfSection")))
{
__seterrno ();
goto out;
}
- if (!(NtOpenSection = (NTSTATUS (*)(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES))
+ if (!(NtOpenSection = (NTSTATUS (__stdcall *)(PHANDLE,ACCESS_MASK,
+ POBJECT_ATTRIBUTES))
GetProcAddress (ntdll, "NtOpenSection")))
{
__seterrno ();
goto out;
}
- if (!(NtUnmapViewOfSection = (NTSTATUS (*)(HANDLE,PVOID))
+ if (!(NtUnmapViewOfSection = (NTSTATUS (__stdcall *)(HANDLE,PVOID))
GetProcAddress (ntdll, "NtUnmapViewOfSection")))
{
__seterrno ();
goto out;
}
- if (!(RtlInitUnicodeString = (VOID (*)(PUNICODE_STRING,PCWSTR))
+ if (!(RtlInitUnicodeString = (VOID (__stdcall *)(PUNICODE_STRING,PCWSTR))
GetProcAddress (ntdll, "RtlInitUnicodeString")))
{
__seterrno ();
goto out;
}
- if (!(RtlNtStatusToDosError = (ULONG (*)(NTSTATUS))
+ if (!(RtlNtStatusToDosError = (ULONG (__stdcall *)(NTSTATUS))
GetProcAddress (ntdll, "RtlNtStatusToDosError")))
{
__seterrno ();