summaryrefslogtreecommitdiffstats
path: root/contrib/com_err/com_err.h
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2004-04-03 21:17:01 +0000
committernectar <nectar@FreeBSD.org>2004-04-03 21:17:01 +0000
commit51d0d2403952fc6bc99c3bba749cecc4a7b736b1 (patch)
treeece6a707d8c4b0cbe892a48245084c0c427ee3cb /contrib/com_err/com_err.h
parentb60761ab5cb1fac54d3c5076178e54776f0136d1 (diff)
downloadFreeBSD-src-51d0d2403952fc6bc99c3bba749cecc4a7b736b1.zip
FreeBSD-src-51d0d2403952fc6bc99c3bba749cecc4a7b736b1.tar.gz
Resolve conflicts after import of Heimdal 0.6.1 libcom_err.
Diffstat (limited to 'contrib/com_err/com_err.h')
-rw-r--r--contrib/com_err/com_err.h25
1 files changed, 11 insertions, 14 deletions
diff --git a/contrib/com_err/com_err.h b/contrib/com_err/com_err.h
index 19cf034..6c1faa4 100644
--- a/contrib/com_err/com_err.h
+++ b/contrib/com_err/com_err.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 1998 Kungliga Tekniska Högskolan
+ * Copyright (c) 1997 - 2001 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -14,12 +14,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by Kungliga Tekniska
- * Högskolan and its contributors.
- *
- * 4. Neither the name of the Institute nor the names of its contributors
+ * 3. Neither the name of the Institute nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -36,8 +31,8 @@
* SUCH DAMAGE.
*/
-/* $Id: com_err.h,v 1.3 1998/05/02 20:13:28 assar Exp $ */
/* $FreeBSD$ */
+/* $Id: com_err.h,v 1.9 2001/05/11 20:03:36 assar Exp $ */
/* MIT compatible com_err library */
@@ -45,10 +40,7 @@
#define __COM_ERR_H__
#include <sys/cdefs.h>
-
-#ifdef __STDC__
#include <stdarg.h>
-#endif
#include <com_right.h>
@@ -57,12 +49,17 @@ typedef void (*errf) __P((const char *, long, const char *, va_list));
const char * error_message __P((long));
int init_error_table __P((const char**, long, int));
-void com_err_va __P((const char *, long, const char *, va_list));
-void com_err __P((const char *, long, const char *, ...));
+void com_err_va __P((const char *, long, const char *, va_list))
+ __printflike(3, 0);
+
+void com_err __P((const char *, long, const char *, ...))
+ __printflike(3, 4);
errf set_com_err_hook __P((errf));
errf reset_com_err_hook __P((void));
-const char *error_table_name __P((int num));
+const char *error_table_name __P((int num));
+
+void add_to_error_table __P((struct et_list *new_table));
#endif /* __COM_ERR_H__ */
OpenPOWER on IntegriCloud