mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-27 17:19:19 -05:00
Fix some externs
This commit is contained in:
parent
013b3a9f3d
commit
9b73b8a568
4 changed files with 3 additions and 13 deletions
|
|
@ -27,11 +27,6 @@
|
|||
#include "rewrite-int.h"
|
||||
#include "rewrite-map.h"
|
||||
|
||||
/*
|
||||
* Global data
|
||||
*/
|
||||
extern struct rewrite_context *__curr_context;
|
||||
|
||||
/*
|
||||
* Parses a plugin map
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ parse_line(
|
|||
}
|
||||
|
||||
int
|
||||
read_rewrite(
|
||||
rewrite_read(
|
||||
FILE *fin,
|
||||
struct rewrite_info *info
|
||||
)
|
||||
|
|
|
|||
|
|
@ -313,6 +313,7 @@ struct rewrite_info {
|
|||
* PRIVATE *
|
||||
***********/
|
||||
|
||||
LDAP_V (struct rewrite_context*) __curr_context;
|
||||
|
||||
/*
|
||||
* Maps
|
||||
|
|
|
|||
|
|
@ -39,12 +39,6 @@ int ldap_debug;
|
|||
int ldap_syslog;
|
||||
int ldap_syslog_level;
|
||||
|
||||
extern int
|
||||
read_rewrite(
|
||||
FILE *fin,
|
||||
struct rewrite_info *info
|
||||
);
|
||||
|
||||
char *
|
||||
apply(
|
||||
FILE *fin,
|
||||
|
|
@ -59,7 +53,7 @@ apply(
|
|||
|
||||
info = rewrite_info_init(REWRITE_MODE_ERR);
|
||||
|
||||
if ( read_rewrite( fin, info ) != 0 ) {
|
||||
if ( rewrite_read( fin, info ) != 0 ) {
|
||||
exit( EXIT_FAILURE );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue