[819] in Kerberos-V5-bugs
More com_err probs
daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Sat Oct 1 07:22:20 1994
From: epeisach@MIT.EDU
Date: Sat, 1 Oct 1994 07:22:16 -0400
To: krb5-bugs@MIT.EDU
You are missing a definition of error_message in com_err.c and
error_table.h still has a const definition...
===================================================================
RCS file: /mit/krb5/.cvsroot/src/util/et/com_err.c,v
retrieving revision 5.6
diff -c -r5.6 com_err.c
*** 5.6 1994/09/30 21:36:49
--- com_err.c 1994/10/01 11:18:52
***************
*** 17,22 ****
--- 17,29 ----
#include "error_table.h"
#include "internal.h"
+ /* We have problems with varargs definitions if we include com_err.h */
+ #ifdef __STDC__
+ extern char const *error_message (long);
+ #else
+ extern char *error_message ();
+ #endif
+
#ifdef notdef
/*
* Protect us from header version (externally visible) of com_err, so
===================================================================
RCS file: /mit/krb5/.cvsroot/src/util/et/error_table.h,v
retrieving revision 5.0
diff -c -r5.0 error_table.h
*** 5.0 1993/04/13 19:56:19
--- error_table.h 1994/09/30 16:10:20
***************
*** 6,15 ****
*/
#ifndef _ET_H
- /* Are we using ANSI C? */
- #ifndef __STDC__
- #define const
- #endif
extern int errno;
struct error_table {
char const * const * msgs;
--- 6,11 ----