summaryrefslogtreecommitdiffstats
path: root/lib/libkrb5/generated/hdb_err.c
diff options
context:
space:
mode:
authorbiorn <biorn@openbsd.org>2006-04-14 08:24:41 +0000
committerbiorn <biorn@openbsd.org>2006-04-14 08:24:41 +0000
commit46084eb79687a54d7f12671102443abc6d6f4b8e (patch)
tree95aa7363dc758152c9594aad55cf511b3228eceb /lib/libkrb5/generated/hdb_err.c
parentMerge of heimdal 0.7.2 (diff)
downloadwireguard-openbsd-46084eb79687a54d7f12671102443abc6d6f4b8e.tar.xz
wireguard-openbsd-46084eb79687a54d7f12671102443abc6d6f4b8e.zip
fix for heimdal 0.7.2
Diffstat (limited to 'lib/libkrb5/generated/hdb_err.c')
-rw-r--r--lib/libkrb5/generated/hdb_err.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libkrb5/generated/hdb_err.c b/lib/libkrb5/generated/hdb_err.c
index dcf46f76368..d8509e790aa 100644
--- a/lib/libkrb5/generated/hdb_err.c
+++ b/lib/libkrb5/generated/hdb_err.c
@@ -1,11 +1,11 @@
-/* Generated from /usr/src/lib/libkrb5/../../kerberosV/src/lib/hdb/hdb_err.et */
+/* Generated from /home/biorn/src/lib/libkrb5/../../kerberosV/src/lib/hdb/hdb_err.et */
/* $KTH: hdb_err.et,v 1.5 2001/01/28 23:05:52 assar Exp $ */
#include <stddef.h>
#include <com_err.h>
#include "hdb_err.h"
-static const char *text[] = {
+static const char *hdb_error_strings[] = {
/* 000 */ "Reserved hdb error (0)",
/* 001 */ "Database store error",
/* 002 */ "Database read error",
@@ -22,12 +22,14 @@ static const char *text[] = {
NULL
};
+#define num_errors 13
+
void initialize_hdb_error_table_r(struct et_list **list)
{
- initialize_error_table_r(list, text, hdb_num_errors, ERROR_TABLE_BASE_hdb);
+ initialize_error_table_r(list, hdb_error_strings, num_errors, ERROR_TABLE_BASE_hdb);
}
void initialize_hdb_error_table(void)
{
- init_error_table(text, ERROR_TABLE_BASE_hdb, hdb_num_errors);
+ init_error_table(hdb_error_strings, ERROR_TABLE_BASE_hdb, num_errors);
}