[5668] in Athena Bugs
7.1D vax com_err.h missing definition for com_err_va
daemon@ATHENA.MIT.EDU (epeisach@ATHENA.MIT.EDU)
Sun Aug 5 10:48:17 1990
From: epeisach@ATHENA.MIT.EDU
Date: Sun, 5 Aug 90 10:48:02 -0400
To: bugs@ATHENA.MIT.EDU
Cc: raeburn@ATHENA.MIT.EDU
I noticed that the definition of com_err_va was missing from the header
file. The routine is global, but undocumented in the man page, but it
would appear to be a used elsewhere (like in the ss sources).
Should the routine be declared static or should the header file be
changed?
Ezra
RCS file: RCS/com_err.h,v
retrieving revision 1.1
diff -c -r1.1 com_err.h
*** /tmp/,RCSt1005314 Sun Aug 5 10:43:23 1990
--- com_err.h Sun Aug 5 10:34:28 1990
***************
*** 18,23 ****
--- 18,24 ----
#endif
/* ANSI C -- use prototypes etc */
void com_err (const char *, long, const char *, ...);
+ void com_err_va (const char *, long, const char *, ...);
char const *error_message (long);
void (*com_err_hook) (const char *, long, const char *, va_list);
void (*set_com_err_hook (void (*) (const char *, long, const char *, va_list)))
***************
*** 26,31 ****
--- 27,33 ----
#else
/* no prototypes */
void com_err ();
+ void com_err_va ();
char *error_message ();
void (*com_err_hook) ();
void (*set_com_err_hook ()) ();