]> git.sur5r.net Git - openldap/commitdiff
Remove lint
authorKurt Zeilenga <kurt@openldap.org>
Fri, 21 Jul 2000 21:56:33 +0000 (21:56 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 21 Jul 2000 21:56:33 +0000 (21:56 +0000)
libraries/liblber/io.c
servers/slapd/tools/slapindex.c

index d8b6a87d7675aa7836bf231ece1eb7ba94c764a1..05773e900bf407bcde702dd17262311dbdd57db5 100644 (file)
 
 #include "lber-int.h"
 
-static ber_slen_t BerRead LDAP_P((
-       Sockbuf *sb,
-       char *buf,
-       ber_len_t len ));
-
 #define EXBUFSIZ       1024
 
 /* probably far too large... */
@@ -52,7 +47,7 @@ static ber_slen_t BerRead LDAP_P((
 static ber_slen_t
 BerRead(
        Sockbuf *sb,
-       char *buf,
+       unsigned char *buf,
        ber_len_t len )
 {
        ber_slen_t      c;
index 87ab02d84f7a9656f8a84f80c296cf11f92f1ade..a41af24b359710f4eae6f63ae8e3406e8e495c2e 100644 (file)
@@ -73,7 +73,6 @@ main( int argc, char **argv )
                }
        }
 
-done:
        (void) be->be_entry_close( be );
 
        slap_tool_destroy();