From 51d0d2403952fc6bc99c3bba749cecc4a7b736b1 Mon Sep 17 00:00:00 2001 From: nectar Date: Sat, 3 Apr 2004 21:17:01 +0000 Subject: Resolve conflicts after import of Heimdal 0.6.1 libcom_err. --- contrib/com_err/com_err.h | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'contrib/com_err/com_err.h') 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 - -#ifdef __STDC__ #include -#endif #include @@ -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__ */ -- cgit v1.1