From: Theodore Tso Date: Thu, 13 Jan 1994 20:17:48 +0000 (+0000) Subject: Don't use static character arrays!!! This results in those strings duplicated X-Git-Tag: krb5-1.0-beta3~49 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8db036ec36089c634a874a86232dd7f3c24aa9a6;p=krb5.git Don't use static character arrays!!! This results in those strings duplicated in every single file that includes this include file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3313 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/adm_defs.h b/src/include/krb5/adm_defs.h index 8274e647d..912ebbbc3 100644 --- a/src/include/krb5/adm_defs.h +++ b/src/include/krb5/adm_defs.h @@ -96,6 +96,7 @@ typedef struct { char *message; } kadmin_requests; +#if 0 static char *oper_type[] = { "complete", /* 0 */ "addition", /* 1 */ @@ -104,45 +105,56 @@ static char *oper_type[] = { "modification", /* 4 */ "inquiry" /* 5 */ }; +#endif #define SKYCHANGED 0x00 #define NSKYRCVD 0x01 + +#if 0 static char *ksrvutil_message[] = { "Service Key Changed", /* 0 */ "New Key and Version Received" /* 1 */ }; +#endif #define KADMGOOD 0x00 #define KADMSAG 0x01 +#if 0 static char *kadmind_general_response[] = { "Success", /* 0 */ "Service Access Granted" /* 1 */ }; +#endif #define KPASSGOOD 0x00 #define KPASSBAD 0x01 +#if 0 static char *kadmind_kpasswd_response[] = { "Password Changed", /* 0 */ "Password NOT Changed!" /* 1 */ }; +#endif #define KSRVGOOD 0x00 #define KSRVBAD 0x01 #define KSRVCATASTROPHE 0x02 +#if 0 static char *kadmind_ksrvutil_response[] = { "Service Password Change Complete", /* 0 */ "One or More Service Password Change(s) Failed!", /* 1 */ "Database Update Failure - Possible Catastrophe!!" /* 2 */ }; +#endif #define KADMGOOD 0x00 #define KADMBAD 0x01 +#if 0 static char *kadmind_kadmin_response[] = { "Administrative Service Completed", /* 0 */ "Principal Unknown!", /* 1 */ @@ -154,6 +166,7 @@ static char *kadmind_kadmin_response[] = { "Admin Client Not in ACL List!", /* 7 */ "Database Update Failure - Possible Catastrophe!!" /* 8 */ }; +#endif #define KMODVNO 0x00 #define KMODATTR 0x01