summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/autoload.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-12-02 09:59:01 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-12-02 09:59:01 +0000
commit79a6cc4d4937012651d30054e2bcdbf62de2b0fb (patch)
tree733e48ee7af60d7bf175a3dc4bee8c7b824eb94d /winsup/cygwin/autoload.cc
parent9e9d7a8ce1f7ff36d8d81fb6088a2f6cbe2717f4 (diff)
downloadcygnal-79a6cc4d4937012651d30054e2bcdbf62de2b0fb.tar.gz
cygnal-79a6cc4d4937012651d30054e2bcdbf62de2b0fb.tar.bz2
cygnal-79a6cc4d4937012651d30054e2bcdbf62de2b0fb.zip
* autoload.cc (IdnToAscii): Use simpler, equivalent LoadDLLfuncEx.
(IdnToUnicode): Ditto.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r--winsup/cygwin/autoload.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc
index 659898ba6..6340e8080 100644
--- a/winsup/cygwin/autoload.cc
+++ b/winsup/cygwin/autoload.cc
@@ -577,8 +577,8 @@ LoadDLLfuncEx (CancelSynchronousIo, 4, kernel32, 1)
LoadDLLfunc (CreateSymbolicLinkW, 12, kernel32)
LoadDLLfuncEx (GetNamedPipeClientProcessId, 8, kernel32, 1)
LoadDLLfunc (GetSystemTimePreciseAsFileTime, 4, kernel32)
-LoadDLLfuncEx2 (IdnToAscii, 20, kernel32, 1, 0)
-LoadDLLfuncEx2 (IdnToUnicode, 20, kernel32, 1, 0)
+LoadDLLfuncEx (IdnToAscii, 20, kernel32, 1)
+LoadDLLfuncEx (IdnToUnicode, 20, kernel32, 1)
LoadDLLfunc (LocaleNameToLCID, 8, kernel32)
/* ldap functions are cdecl! */