Fix slurpd constification where dependent upon slap.h

This commit is contained in:
Kurt Zeilenga 1999-08-20 22:24:58 +00:00
parent 546262acb8
commit 6677c7ad1d
2 changed files with 7 additions and 7 deletions

View file

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

View file

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