Fix some externs

This commit is contained in:
Howard Chu 2002-01-02 23:31:44 +00:00
parent 013b3a9f3d
commit 9b73b8a568
4 changed files with 3 additions and 13 deletions

View file

@ -27,11 +27,6 @@
#include "rewrite-int.h"
#include "rewrite-map.h"
/*
* Global data
*/
extern struct rewrite_context *__curr_context;
/*
* Parses a plugin map
*/

View file

@ -90,7 +90,7 @@ parse_line(
}
int
read_rewrite(
rewrite_read(
FILE *fin,
struct rewrite_info *info
)

View file

@ -313,6 +313,7 @@ struct rewrite_info {
* PRIVATE *
***********/
LDAP_V (struct rewrite_context*) __curr_context;
/*
* Maps

View file

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