Commit 7cc496fd authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Constify ldif_open() args

parent 947a70a9
......@@ -90,7 +90,7 @@ typedef struct LDIFFP {
} 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 )
ldif_close LDAP_P(( LDIFFP * ));
......
......@@ -747,8 +747,8 @@ int ldif_is_not_printable(
LDIFFP *
ldif_open(
char *file,
char *mode
LDAP_CONST char *file,
LDAP_CONST char *mode
)
{
FILE *fp = fopen( file, mode );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment