mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
wldap32: Add missing const to ldap_init definitions.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6fcc923e4c
commit
59607a4c09
1 changed files with 2 additions and 2 deletions
|
@ -319,7 +319,7 @@ ULONG CDECL ldap_connect( WLDAP32_LDAP *ld, struct l_timeval *timeout )
|
|||
*
|
||||
* See ldap_initW.
|
||||
*/
|
||||
WLDAP32_LDAP * CDECL ldap_initA( PCHAR hostname, ULONG portnumber )
|
||||
WLDAP32_LDAP * CDECL ldap_initA( const PCHAR hostname, ULONG portnumber )
|
||||
{
|
||||
#ifdef HAVE_LDAP
|
||||
WLDAP32_LDAP *ld = NULL;
|
||||
|
@ -365,7 +365,7 @@ exit:
|
|||
* to this function. The connection will not be made until the first
|
||||
* LDAP function that needs it is called.
|
||||
*/
|
||||
WLDAP32_LDAP * CDECL ldap_initW( PWCHAR hostname, ULONG portnumber )
|
||||
WLDAP32_LDAP * CDECL ldap_initW( const PWCHAR hostname, ULONG portnumber )
|
||||
{
|
||||
#ifdef HAVE_LDAP
|
||||
LDAP *ld = NULL;
|
||||
|
|
Loading…
Reference in a new issue