From: Ezra Peisach Date: Thu, 27 Apr 1995 17:43:52 +0000 (+0000) Subject: krb.h: Add const for krb_err_txt to agree with .c file X-Git-Tag: krb5-1.0-beta5~206 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=79e543f9583dc5acfdbe68e083c34f921e4c473b;p=krb5.git krb.h: Add const for krb_err_txt to agree with .c file osconf.h conf-osf1alpha.h: Add paramaters for alpha architecture git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5546 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/kerberosIV/ChangeLog b/src/include/kerberosIV/ChangeLog index 1b6d02aa8..a5569cc05 100644 --- a/src/include/kerberosIV/ChangeLog +++ b/src/include/kerberosIV/ChangeLog @@ -1,3 +1,11 @@ +Thu Apr 27 13:32:22 1995 Ezra Peisach + + * conf-osf1alpha.h: New file + + * osconf.h: Add inclusion of conf-osf1alpha.h + + * krb.h: Add const to krb_err_txt to agree with library definition + Thu Apr 27 10:55:00 1995 Mark Eichin * krb.h: make INTERFACE, FAR go away for now. diff --git a/src/include/kerberosIV/conf-osf1alpha.h b/src/include/kerberosIV/conf-osf1alpha.h new file mode 100644 index 000000000..27eadeb90 --- /dev/null +++ b/src/include/kerberosIV/conf-osf1alpha.h @@ -0,0 +1,28 @@ +/* + * include/kerberosIV/conf-osf1alpha.h + * + * Copyright 1988, 1994 by the Massachusetts Institute of Technology. + * All Rights Reserved. + * + * Export of this software from the United States of America may + * require a specific license from the United States Government. + * It is the responsibility of any person or organization contemplating + * export to obtain such a license before exporting. + * + * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and + * distribute this software and its documentation for any purpose and + * without fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright notice and + * this permission notice appear in supporting documentation, and that + * the name of M.I.T. not be used in advertising or publicity pertaining + * to distribution of the software without specific, written prior + * permission. M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" without express + * or implied warranty. + */ + +#define BITS32 +#define BIG +#define LSBFIRST +#define BSDUNIX +#define MUSTALIGN diff --git a/src/include/kerberosIV/krb.h b/src/include/kerberosIV/krb.h index f21053d3f..11e521430 100644 --- a/src/include/kerberosIV/krb.h +++ b/src/include/kerberosIV/krb.h @@ -32,7 +32,7 @@ /* Text describing error codes */ #define MAX_KRB_ERRORS 256 -extern char *krb_err_txt[MAX_KRB_ERRORS]; +extern const char *const krb_err_txt[MAX_KRB_ERRORS]; /* These are not defined for at least SunOS 3.3 and Ultrix 2.2 */ #if defined(ULTRIX022) || (defined(SunOS) && SunOS < 40) diff --git a/src/include/kerberosIV/osconf.h b/src/include/kerberosIV/osconf.h index 290433aea..b619c9d31 100644 --- a/src/include/kerberosIV/osconf.h +++ b/src/include/kerberosIV/osconf.h @@ -23,6 +23,9 @@ * Athena configuration. */ +#ifdef __alpha +#include "conf-osf1alpha.h" +#else /* !__alpha */ #ifdef tahoe #include "conf-bsdtahoe.h" #else /* !tahoe */ @@ -58,3 +61,4 @@ #endif /* mips */ #endif /* vax */ #endif /* tahoe */ +#endif /* alpha */