summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/fhandler_mem.cc16
2 files changed, 13 insertions, 7 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 0c6bd674c..ec2475082 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+Sun Oct 1 16:36:00 2000 Corinna Vinschen <corinna@vinschen.de>
+
+ * fhandler_mem.cc (load_ntdll_funcs): Add missing __stdcall qualifiers.
+
Sun Oct 1 22:20:39 2000 Christopher Faylor <cgf@cygnus.com>
* cygheap.cc (cygheap_init): Born again function.
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 ();