diff options
author | Ezra Peisach <epeisach@mit.edu> | 1997-03-03 19:59:36 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1997-03-03 19:59:36 +0000 |
commit | aec8d4a5270c6f5f5a09d7b2275f3edc0408580f (patch) | |
tree | 47be5bffda21d5507a7c67c485c1fff954da9faa /src/util | |
parent | e8face963302dbf67cfb397e29206533f5b4cd86 (diff) | |
download | krb5-aec8d4a5270c6f5f5a09d7b2275f3edc0408580f.tar.gz krb5-aec8d4a5270c6f5f5a09d7b2275f3edc0408580f.tar.xz krb5-aec8d4a5270c6f5f5a09d7b2275f3edc0408580f.zip |
* error_message.c: Don't declare sys_nerr on Macintosh
* com_err.c: Fix MacMessageBox prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9996 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/et/ChangeLog | 6 | ||||
-rw-r--r-- | src/util/et/com_err.c | 2 | ||||
-rw-r--r-- | src/util/et/error_message.c | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index b227d8c2ce..086fad5870 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,9 @@ +Mon Mar 3 14:57:35 1997 Ezra Peisach <epeisach@mit.edu> + + * error_message.c: Don't declare sys_nerr on Macintosh. + + * com_err.c: Fix MacMessageBox prototype. + Sat Mar 1 11:54:02 1997 Sam Hartman <hartmans@luminous.MIT.EDU> * com_err.h: Do not declare com_err_hook extern if you want it diff --git a/src/util/et/com_err.c b/src/util/et/com_err.c index 8823e9eb15..f9344bace2 100644 --- a/src/util/et/com_err.c +++ b/src/util/et/com_err.c @@ -27,7 +27,7 @@ #endif #ifdef _MACINTOSH #include "icons.h" -static void MacMessageBox(errbuf); +static void MacMessageBox(char *errbuf); #endif static et_old_error_hook_func com_err_hook = 0; diff --git a/src/util/et/error_message.c b/src/util/et/error_message.c index 7ffe1b67a2..81e5088c12 100644 --- a/src/util/et/error_message.c +++ b/src/util/et/error_message.c @@ -34,8 +34,10 @@ #if !defined(HAVE_STRERROR) && !defined(SYS_ERRLIST_DECLARED) extern char const * const sys_errlist[]; +#ifndef _MACINTOSH extern const int sys_nerr; #endif +#endif static char buffer[ET_EBUFSIZ]; |