From 8a8dc73ef87b538c369abc1b642e2a40b52c53c2 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Sat, 31 Jan 2026 12:00:15 -0500 Subject: [PATCH] heimdal: Add missing function prototypes This fixes the build with GCC 14 on stable/14 which raises fatal -Wimplicit-function-declaration warnings. Reviewed by: rmacklem, cy Fixes: 5000d023a446 ("heimdal-kadmin: Add support for the -f dump option") Differential Revision: https://reviews.freebsd.org/D54931 --- crypto/heimdal/lib/hdb/hdb-private.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/crypto/heimdal/lib/hdb/hdb-private.h b/crypto/heimdal/lib/hdb/hdb-private.h index 8a748694424..1a307bccc19 100644 --- a/crypto/heimdal/lib/hdb/hdb-private.h +++ b/crypto/heimdal/lib/hdb/hdb-private.h @@ -24,6 +24,12 @@ _hdb_keytab2hdb_entry ( const krb5_keytab_entry */*ktentry*/, hdb_entry_ex */*entry*/); +int +_hdb_mit_dump2mitdb_entry( + krb5_context /*context*/, + char */*line*/, + krb5_storage */*sp*/); + int _hdb_mkey_decrypt ( krb5_context /*context*/, @@ -51,6 +57,12 @@ _hdb_remove ( HDB */*db*/, krb5_const_principal /*principal*/); +krb5_error_code +_hdb_set_master_key_usage ( + krb5_context /*context*/, + HDB */*db*/, + unsigned int /*key_usage*/); + krb5_error_code _hdb_store ( krb5_context /*context*/,