From e59bead619cb2b9a39a0fbce17869652052ac952 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Wed, 10 Apr 2002 17:35:49 +0000 Subject: [PATCH] OS/2 bustage - these should be extern C - r=dmose --- directory/xpcom/base/src/nsLDAPSecurityGlue.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/directory/xpcom/base/src/nsLDAPSecurityGlue.cpp b/directory/xpcom/base/src/nsLDAPSecurityGlue.cpp index d782ce31516..3e5dda7ce59 100644 --- a/directory/xpcom/base/src/nsLDAPSecurityGlue.cpp +++ b/directory/xpcom/base/src/nsLDAPSecurityGlue.cpp @@ -67,7 +67,7 @@ nsLDAPSSLFreeSocketClosure(nsLDAPSSLSocketClosure **aClosure) // Replacement close() function, which cleans up local stuff associated // with this socket, and then calls the real close function. // -static int LDAP_CALLBACK +extern "C" int LDAP_CALLBACK nsLDAPSSLClose(int s, struct lextiof_socket_private *socketarg) { PRLDAPSocketInfo socketInfo; @@ -103,7 +103,7 @@ nsLDAPSSLClose(int s, struct lextiof_socket_private *socketarg) // Replacement connection function. Calls the real connect function, // -static int LDAP_CALLBACK +extern "C" int LDAP_CALLBACK nsLDAPSSLConnect(const char *hostlist, int defport, int timeout, unsigned long options, struct lextiof_session_private *sessionarg, @@ -264,7 +264,7 @@ nsLDAPSSLFreeSessionClosure(nsLDAPSSLSessionClosure **aSessionClosure) // Replacement session handle disposal code. First cleans up our local // stuff, then calls the original session handle disposal function. // -static void LDAP_CALLBACK +extern "C" void LDAP_CALLBACK nsLDAPSSLDisposeHandle(LDAP *ld, struct lextiof_session_private *sessionarg) { PRLDAPSessionInfo sessionInfo;