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:
Thomas Faber 2015-10-18 11:03:03 +02:00 committed by Alexandre Julliard
parent 6fcc923e4c
commit 59607a4c09

View file

@ -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;