diff --git a/include/ldap.h b/include/ldap.h
index fee3e0035910437122bbf6937e66cf642839cf9b..0bba88ef4b6825ebe7b4e4676c81674e288b68c4 100644
--- a/include/ldap.h
+++ b/include/ldap.h
@@ -723,17 +723,6 @@ ldap_bind_s LDAP_P((	/* deprecated */
 	LDAP_CONST char *cred,
 	int authmethod ));
 
-LIBLDAP_F( void )
-ldap_set_rebind_proc LDAP_P((	/* deprecated */
-	LDAP *ld,
-	int (*rebindproc) LDAP_P((
-		LDAP *ld,
-		char **dnp,
-		char **passwdp,
-		int *authmethodp,
-		int freeit ))));
-
-
 /*
  * in sbind.c:
  */