Remove unused vars/function

This commit is contained in:
Hallvard Furuseth 1999-09-02 07:36:17 +00:00
parent cc2278b36a
commit b290faf0db
3 changed files with 6 additions and 3 deletions

View file

@ -50,7 +50,9 @@ static void free_ldmarr LDAP_P(( LDAPMod ** ));
static int getmodtype LDAP_P(( char * ));
static void dump_ldm_array LDAP_P(( LDAPMod ** ));
static char **read_krbnames LDAP_P(( Ri * ));
#ifdef HAVE_KERBEROS
static void upcase LDAP_P(( char * ));
#endif
static int do_bind LDAP_P(( Ri *, int * ));
static int do_unbind LDAP_P(( Ri * ));
@ -885,6 +887,7 @@ read_krbnames(
}
#ifdef HAVE_KERBEROS
/*
* upcase a string
@ -900,3 +903,5 @@ upcase(
*p = TOUPPER( (unsigned char) *p );
}
}
#endif /* HAVE_KERBEROS */

View file

@ -269,7 +269,6 @@ get_repl_hosts(
char **r_rp
)
{
char buf[ LDIF_LINE_WIDTH + 1 ];
char *type, *value, *line, *p;
Rh *rh = NULL;
int nreplicas;

View file

@ -36,6 +36,7 @@
#include <stdio.h>
#include <ac/stdlib.h>
#include <ac/string.h>
#include <ac/unistd.h> /* get ftruncate() */
#include "slurp.h"
@ -314,8 +315,6 @@ Rq_needtrim(
)
{
int rc = 0;
Re *re;
int nzrc = 0; /* nzrc is count of entries with refcnt == 0 */
time_t now;
if ( rq == NULL ) {