Constify ldif_open() args

This commit is contained in:
Hallvard Furuseth 2005-07-06 10:50:03 +00:00
parent 947a70a911
commit 7cc496fd25
2 changed files with 3 additions and 3 deletions

View file

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

View file

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