summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-20 18:59:51 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-20 18:59:51 +0200
commit87ec1d2532eb17dfd7f98431bdfa4071be57f683 (patch)
tree7543ac112a660083d05c1b4734ffb7fdc169d656 /source4/heimdal/lib
parent01a902f59978cebdab22aaee7d9e0c9bb78bc649 (diff)
downloadsamba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.tar.gz
samba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.tar.bz2
samba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.zip
Make sure prototypes are always included, make some functions static and
remove some unused functions.
Diffstat (limited to 'source4/heimdal/lib')
-rw-r--r--source4/heimdal/lib/hdb/keys.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/heimdal/lib/hdb/keys.c b/source4/heimdal/lib/hdb/keys.c
index e649f445e0..a2637eb0b9 100644
--- a/source4/heimdal/lib/hdb/keys.c
+++ b/source4/heimdal/lib/hdb/keys.c
@@ -39,7 +39,7 @@ RCSID("$Id$");
* free all the memory used by (len, keys)
*/
-void
+static void
hdb_free_keys (krb5_context context, int len, Key *keys)
{
int i;
@@ -250,7 +250,7 @@ add_enctype_to_key_set(Key **key_set, size_t *nkeyset,
* it's random keys that is going to be created.
*/
-krb5_error_code
+static krb5_error_code
hdb_generate_key_set(krb5_context context, krb5_principal principal,
Key **ret_key_set, size_t *nkeyset, int no_salt)
{
@@ -362,7 +362,7 @@ hdb_generate_key_set(krb5_context context, krb5_principal principal,
}
-krb5_error_code
+static krb5_error_code
hdb_generate_key_set_password(krb5_context context,
krb5_principal principal,
const char *password,