mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 07:09:34 -05:00
Constify ldif_open() args
This commit is contained in:
parent
947a70a911
commit
7cc496fd25
2 changed files with 3 additions and 3 deletions
|
|
@ -90,7 +90,7 @@ typedef struct LDIFFP {
|
||||||
} LDIFFP;
|
} LDIFFP;
|
||||||
|
|
||||||
LDAP_LDIF_F( LDIFFP * )
|
LDAP_LDIF_F( LDIFFP * )
|
||||||
ldif_open LDAP_P(( char *file, char *mode ));
|
ldif_open LDAP_P(( LDAP_CONST char *file, LDAP_CONST char *mode ));
|
||||||
|
|
||||||
LDAP_LDIF_F( void )
|
LDAP_LDIF_F( void )
|
||||||
ldif_close LDAP_P(( LDIFFP * ));
|
ldif_close LDAP_P(( LDIFFP * ));
|
||||||
|
|
|
||||||
|
|
@ -747,8 +747,8 @@ int ldif_is_not_printable(
|
||||||
|
|
||||||
LDIFFP *
|
LDIFFP *
|
||||||
ldif_open(
|
ldif_open(
|
||||||
char *file,
|
LDAP_CONST char *file,
|
||||||
char *mode
|
LDAP_CONST char *mode
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
FILE *fp = fopen( file, mode );
|
FILE *fp = fopen( file, mode );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue