From 10519ce50d3aaa8e40bb9e1e0dee5da847648f42 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Thu, 27 Mar 2014 10:07:29 -0600 Subject: [PATCH] remove hdb ldap create declarations The hdb_ldap_create and hdb_ldapi_create prototypes use the "static" keyword, but the functions themselves are not implemented as static. Heimdal's buildsystem dynamically adds function declarations to hdb-protos.h based on the actual function implementations. Those declarations in hdb-protos.h are not declared as static. Since the build system generates the declarations dynamically, just remove them from hdb-ldap.c. --- lib/hdb/hdb-ldap.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/hdb/hdb-ldap.c b/lib/hdb/hdb-ldap.c index 767d88ee6..caf892eeb 100644 --- a/lib/hdb/hdb-ldap.c +++ b/lib/hdb/hdb-ldap.c @@ -44,9 +44,6 @@ static krb5_error_code LDAP__connect(krb5_context context, HDB *); static krb5_error_code LDAP_close(krb5_context context, HDB *); -static krb5_error_code hdb_ldap_create(krb5_context context, HDB **, const char *); -static krb5_error_code hdb_ldapi_create(krb5_context context, HDB **, const char *); - static krb5_error_code LDAP_message2entry(krb5_context context, HDB * db, LDAPMessage * msg, int flags, hdb_entry_ex * ent);