Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
7cc496fd
Commit
7cc496fd
authored
Jul 06, 2005
by
Hallvard Furuseth
Browse files
Constify ldif_open() args
parent
947a70a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/ldif.h
View file @
7cc496fd
...
...
@@ -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
*
));
...
...
libraries/liblutil/ldif.c
View file @
7cc496fd
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment