From: Theodore Tso Date: Fri, 3 Feb 1995 13:39:27 +0000 (+0000) Subject: All routines defined in the com_err library should have extern before X-Git-Tag: krb5-1.0-beta5~761 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e306a8ca60c75bb55af6039a6eaf47b12e5caeac;p=krb5.git All routines defined in the com_err library should have extern before the prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4894 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index d7fb476dd..87344e1df 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,9 @@ +Fri Feb 3 08:11:26 1995 Theodore Y. Ts'o (tytso@dcl) + + * com_err.h: All routines defined in the com_err library should + have extern before the prototypes. (Required for SGI + platform). + Wed Jan 25 20:48:50 1995 Mark Eichin (eichin@tweedledumber.cygnus.com) * Makefile.in (SRCS): add com_err.c explicit dependency to work diff --git a/src/util/et/com_err.h b/src/util/et/com_err.h index 0190a3ee8..98a540084 100644 --- a/src/util/et/com_err.h +++ b/src/util/et/com_err.h @@ -25,19 +25,19 @@ #ifdef __STDC__ /* ANSI C -- use prototypes etc */ -void com_err (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))) +extern void com_err (const char *, long, const char *, ...); +extern char const *error_message (long); +extern void (*com_err_hook) (const char *, long, const char *, va_list); +extern void (*set_com_err_hook (void (*) (const char *, long, const char *, va_list))) (const char *, long, const char *, va_list); -void (*reset_com_err_hook ()) (const char *, long, const char *, va_list); +extern void (*reset_com_err_hook ()) (const char *, long, const char *, va_list); #else /* no prototypes */ -void com_err (); -char *error_message (); -void (*com_err_hook) (); -void (*set_com_err_hook ()) (); -void (*reset_com_err_hook ()) (); +extern void com_err (); +extern char *error_message (); +extern void (*com_err_hook) (); +extern void (*set_com_err_hook ()) (); +extern void (*reset_com_err_hook ()) (); #endif #define __COM_ERR_H