summaryrefslogtreecommitdiff
path: root/lib/libcom_err/error_table.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-15 19:02:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-15 19:02:53 +0000
commit187e72a6cc9c4382d1b1c034e8faf1083a0f2345 (patch)
tree963134ef5edb46922339eefc7da528b00369bc41 /lib/libcom_err/error_table.h
parent656339011714db1f25d3e90c207a8f439b734f14 (diff)
now built into krb5
Diffstat (limited to 'lib/libcom_err/error_table.h')
-rw-r--r--lib/libcom_err/error_table.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/lib/libcom_err/error_table.h b/lib/libcom_err/error_table.h
deleted file mode 100644
index 03ed6bf183b..00000000000
--- a/lib/libcom_err/error_table.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* $OpenBSD: error_table.h,v 1.2 2003/07/03 02:23:19 deraadt Exp $ */
-
-/*-
- * Copyright 1987, 1988 by the Student Information Processing Board
- * of the Massachusetts Institute of Technology
- *
- * Permission to use, copy, modify, and distribute this software
- * and its documentation for any purpose and without fee is
- * hereby granted, provided that the above copyright notice
- * appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation,
- * and that the names of M.I.T. and the M.I.T. S.I.P.B. not be
- * used in advertising or publicity pertaining to distribution
- * of the software without specific, written prior permission.
- * M.I.T. and the M.I.T. S.I.P.B. make no representations about
- * the suitability of this software for any purpose. It is
- * provided "as is" without express or implied warranty.
- */
-
-#ifndef _ET_H
-#define _ET_H
-
-struct error_table {
- char const * const * msgs;
- long base;
- int n_msgs;
-};
-
-struct et_list {
- struct et_list *next;
- const struct error_table *table;
-};
-
-extern struct et_list * _et_list;
-
-#define ERRCODE_RANGE 8 /* # of bits to shift table number */
-#define BITS_PER_CHAR 6 /* # bits to shift per character in name */
-
-extern const char *error_table_name(int);
-
-#endif