mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix slurpd constification where dependent upon slap.h
This commit is contained in:
parent
546262acb8
commit
6677c7ad1d
2 changed files with 7 additions and 7 deletions
|
|
@ -35,8 +35,8 @@
|
|||
|
||||
FILE *
|
||||
lock_fopen(
|
||||
char *fname,
|
||||
char *type,
|
||||
const char *fname,
|
||||
const char *type,
|
||||
FILE **lfp
|
||||
)
|
||||
{
|
||||
|
|
@ -90,7 +90,7 @@ lock_fclose(
|
|||
*/
|
||||
int
|
||||
acquire_lock(
|
||||
char *file,
|
||||
const char *file,
|
||||
FILE **rfp,
|
||||
FILE **lfp
|
||||
)
|
||||
|
|
@ -112,7 +112,7 @@ acquire_lock(
|
|||
*/
|
||||
int
|
||||
relinquish_lock(
|
||||
char *file,
|
||||
const char *file,
|
||||
FILE *rfp,
|
||||
FILE *lfp
|
||||
)
|
||||
|
|
|
|||
|
|
@ -45,10 +45,10 @@ extern struct globals *init_globals LDAP_P((void));
|
|||
int do_ldap LDAP_P((Ri *ri, Re *re, char **errmsg));
|
||||
|
||||
/* lock.c */
|
||||
FILE *lock_fopen LDAP_P((char *fname, char *type, FILE **lfp));
|
||||
FILE *lock_fopen LDAP_P((const char *fname, const char *type, FILE **lfp));
|
||||
int lock_fclose LDAP_P((FILE *fp, FILE *lfp));
|
||||
int acquire_lock LDAP_P((char *file, FILE **rfp, FILE **lfp));
|
||||
int relinquish_lock LDAP_P((char *file, FILE *rfp, FILE *lfp));
|
||||
int acquire_lock LDAP_P((const char *file, FILE **rfp, FILE **lfp));
|
||||
int relinquish_lock LDAP_P((const char *file, FILE *rfp, FILE *lfp));
|
||||
|
||||
/* reject.c */
|
||||
void write_reject LDAP_P((Ri *ri, Re *re, int lderr, char *errmsg));
|
||||
|
|
|
|||
Loading…
Reference in a new issue