Commit 6677c7ad authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix slurpd constification where dependent upon slap.h

parent 546262ac
......@@ -35,8 +35,8 @@
char *fname,
char *type,
const char *fname,
const char *type,
FILE **lfp
......@@ -90,7 +90,7 @@ lock_fclose(
char *file,
const char *file,
FILE **rfp,
FILE **lfp
......@@ -112,7 +112,7 @@ acquire_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));
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