git: 8a8dc73ef87b - main - heimdal: Add missing function prototypes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Jan 2026 17:03:01 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=8a8dc73ef87b538c369abc1b642e2a40b52c53c2
commit 8a8dc73ef87b538c369abc1b642e2a40b52c53c2
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-01-31 17:00:15 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-01-31 17:00:15 +0000
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 8a748694424f..1a307bccc199 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*/,