From: Theodore Tso Date: Wed, 21 Jun 1995 15:04:11 +0000 (+0000) Subject: Change PROTOTYPE -> KRB5_PROTOTYPE X-Git-Tag: krb5-1.0-beta6~1700 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e95c89d7898c1f8df219c4b14feb4910c73d7046;p=krb5.git Change PROTOTYPE -> KRB5_PROTOTYPE git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6113 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/klist/ChangeLog b/src/clients/klist/ChangeLog index 753c263c6..cd7259606 100644 --- a/src/clients/klist/ChangeLog +++ b/src/clients/klist/ChangeLog @@ -1,3 +1,6 @@ +Wed Jun 21 10:37:01 1995 + + * klist.c: Change PROTOTYPE -> KRB5_PROTOTYPE Thu Jun 15 17:47:11 EDT 1995 Paul Park (pjpark@mit.edu) * Makefile.in - Change explicit library names to -l form, and diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c index 4030ca94b..ef3e78809 100644 --- a/src/clients/klist/klist.c +++ b/src/clients/klist/klist.c @@ -41,13 +41,13 @@ krb5_int32 now; krb5_context kcontext; -void show_credential PROTOTYPE((char *, +void show_credential KRB5_PROTOTYPE((char *, krb5_context, krb5_creds *)); -void do_ccache PROTOTYPE((char *)); -void do_keytab PROTOTYPE((char *)); -void printtime PROTOTYPE((time_t)); +void do_ccache KRB5_PROTOTYPE((char *)); +void do_keytab KRB5_PROTOTYPE((char *)); +void printtime KRB5_PROTOTYPE((time_t)); #define DEFAULT 0 #define CCACHE 1 diff --git a/src/kadmin.old/client/ChangeLog b/src/kadmin.old/client/ChangeLog index 0dd2b9c79..2fdca5600 100644 --- a/src/kadmin.old/client/ChangeLog +++ b/src/kadmin.old/client/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 21 10:49:32 1995 + + * kadmin.c: Change PROTOTYPE -> KRB5_PROTOTYPE + Tue Jun 20 19:00:32 1995 Mark Eichin * configure.in: switch obsolete AC_HAVE_HEADER to AC_CHECK_HEADERS. diff --git a/src/kadmin.old/client/kadmin.c b/src/kadmin.old/client/kadmin.c index a18cebe70..f6fb91973 100644 --- a/src/kadmin.old/client/kadmin.c +++ b/src/kadmin.old/client/kadmin.c @@ -46,7 +46,7 @@ extern char *malloc(), *calloc(), *realloc(); #endif static krb5_error_code get_first_ticket - PROTOTYPE((krb5_context, + KRB5_PROTOTYPE((krb5_context, krb5_ccache, krb5_principal, krb5_creds *)); @@ -56,7 +56,7 @@ struct sockaddr_in local_sin, remote_sin; char cache_name[255] = ""; static void get_def_princ - PROTOTYPE((krb5_context, + KRB5_PROTOTYPE((krb5_context, krb5_principal * )); void decode_kadmind_reply(); diff --git a/src/kadmin.old/kpasswd/ChangeLog b/src/kadmin.old/kpasswd/ChangeLog index c3a808026..9be1f7c82 100644 --- a/src/kadmin.old/kpasswd/ChangeLog +++ b/src/kadmin.old/kpasswd/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 21 10:50:33 1995 + + * kpasswd.c: Change PROTOTYPE -> KRB5_PROTOTYPE + Tue Jun 20 12:53:59 1995 Tom Yu (tlyu@dragons-lair) * kpasswd.c: USE_STRING_H -> HAVE_STRING_H for consistency diff --git a/src/kadmin.old/kpasswd/kpasswd.c b/src/kadmin.old/kpasswd/kpasswd.c index c5cb5b9b8..53bdc8da0 100644 --- a/src/kadmin.old/kpasswd/kpasswd.c +++ b/src/kadmin.old/kpasswd/kpasswd.c @@ -53,18 +53,18 @@ extern char *malloc(), *calloc(), *realloc(); #endif static krb5_error_code adm5_init_link - PROTOTYPE((krb5_context, + KRB5_PROTOTYPE((krb5_context, krb5_data *, int *)); static krb5_error_code get_first_ticket - PROTOTYPE((krb5_context, + KRB5_PROTOTYPE((krb5_context, krb5_ccache, krb5_principal, krb5_creds *)); krb5_error_code print_and_choose_password - PROTOTYPE((char *, krb5_data *)); + KRB5_PROTOTYPE((char *, krb5_data *)); struct sockaddr_in local_sin, remote_sin; diff --git a/src/lib/crypto/crc32/ChangeLog b/src/lib/crypto/crc32/ChangeLog index c806bf72a..778c9e57a 100644 --- a/src/lib/crypto/crc32/ChangeLog +++ b/src/lib/crypto/crc32/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 21 10:51:33 1995 + + * crc.c: Change PROTOTYPE -> KRB5_PROTOTYPE + Fri Jun 9 19:18:36 1995 * configure.in: Remove standardized set of autoconf macros, which diff --git a/src/lib/crypto/crc32/crc.c b/src/lib/crypto/crc32/crc.c index 3ecdd75f7..1b96bab33 100644 --- a/src/lib/crypto/crc32/crc.c +++ b/src/lib/crypto/crc32/crc.c @@ -144,7 +144,7 @@ static u_long const crc_table[256] = { }; krb5_error_code -crc32_sum_func NPROTOTYPE((krb5_pointer in, size_t in_length, +crc32_sum_func KRB5_NPROTOTYPE((krb5_pointer in, size_t in_length, krb5_pointer seed, size_t seed_length, krb5_checksum *outcksum)); krb5_error_code diff --git a/src/lib/crypto/md4/ChangeLog b/src/lib/crypto/md4/ChangeLog index d65d5697f..8b0eddb0c 100644 --- a/src/lib/crypto/md4/ChangeLog +++ b/src/lib/crypto/md4/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 21 10:52:07 1995 + + * md4crypto.c, md4glue.c: Change PROTOTYPE -> KRB5_PROTOTYPE + Fri Jun 9 19:18:17 1995 * md4crypto.c: Fix -Wall nits diff --git a/src/lib/crypto/md4/md4crypto.c b/src/lib/crypto/md4/md4crypto.c index 16074eabd..40ad9bd80 100644 --- a/src/lib/crypto/md4/md4crypto.c +++ b/src/lib/crypto/md4/md4crypto.c @@ -29,7 +29,7 @@ #include "des_int.h" /* we cheat a bit and call it directly... */ krb5_error_code -md4_crypto_sum_func NPROTOTYPE((krb5_pointer in, size_t in_length, +md4_crypto_sum_func KRB5_NPROTOTYPE((krb5_pointer in, size_t in_length, krb5_pointer seed, size_t seed_length, krb5_checksum *outcksum)); krb5_error_code diff --git a/src/lib/crypto/md4/md4glue.c b/src/lib/crypto/md4/md4glue.c index 3a3d2e7da..caa0a3376 100644 --- a/src/lib/crypto/md4/md4glue.c +++ b/src/lib/crypto/md4/md4glue.c @@ -27,7 +27,7 @@ #include "rsa-md4.h" krb5_error_code -md4_sum_func NPROTOTYPE((krb5_pointer in, size_t in_length, +md4_sum_func KRB5_NPROTOTYPE((krb5_pointer in, size_t in_length, krb5_pointer seed, size_t seed_length, krb5_checksum *outcksum)); krb5_error_code diff --git a/src/lib/crypto/md5/ChangeLog b/src/lib/crypto/md5/ChangeLog index 30d18c47d..170744427 100644 --- a/src/lib/crypto/md5/ChangeLog +++ b/src/lib/crypto/md5/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 21 10:52:20 1995 + + * md5crypto.c, md5glue.c: Change PROTOTYPE -> KRB5_PROTOTYPE + Fri Jun 9 19:18:24 1995 * md5crypto.c: Fix -Wall nits diff --git a/src/lib/crypto/md5/md5.c b/src/lib/crypto/md5/md5.c index beff1a2de..1cf645e8b 100644 --- a/src/lib/crypto/md5/md5.c +++ b/src/lib/crypto/md5/md5.c @@ -56,7 +56,7 @@ */ /* forward declaration */ -static void Transform PROTOTYPE((krb5_ui_4 FAR *buf, krb5_ui_4 FAR *in)); +static void Transform KRB5_PROTOTYPE((krb5_ui_4 FAR *buf, krb5_ui_4 FAR *in)); static unsigned char PADDING[64] = { 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/src/lib/crypto/md5/md5crypto.c b/src/lib/crypto/md5/md5crypto.c index 79581d64d..8cca051bd 100644 --- a/src/lib/crypto/md5/md5crypto.c +++ b/src/lib/crypto/md5/md5crypto.c @@ -3,7 +3,7 @@ #include "des_int.h" /* we cheat a bit and call it directly... */ krb5_error_code -md5_crypto_sum_func NPROTOTYPE((krb5_pointer in, size_t in_length, +md5_crypto_sum_func KRB5_NPROTOTYPE((krb5_pointer in, size_t in_length, krb5_pointer seed, size_t seed_length, krb5_checksum *outcksum)); krb5_error_code diff --git a/src/lib/crypto/md5/md5glue.c b/src/lib/crypto/md5/md5glue.c index 01282ffaf..db2351fbf 100644 --- a/src/lib/crypto/md5/md5glue.c +++ b/src/lib/crypto/md5/md5glue.c @@ -2,7 +2,7 @@ #include "rsa-md5.h" krb5_error_code -md5_sum_func NPROTOTYPE((krb5_pointer in, size_t in_length, +md5_sum_func KRB5_NPROTOTYPE((krb5_pointer in, size_t in_length, krb5_pointer seed, size_t seed_length, krb5_checksum *outcksum)); krb5_error_code diff --git a/src/tests/asn.1/ChangeLog b/src/tests/asn.1/ChangeLog index a6dce1146..0dade2ec0 100644 --- a/src/tests/asn.1/ChangeLog +++ b/src/tests/asn.1/ChangeLog @@ -1,3 +1,7 @@ +Tue Jun 20 14:56:53 1995 + + * ktest.h, ktest_equal.h: Change PROTOTYPE to KRB5_PROTOTYPE + Fri Jun 9 18:57:22 1995 * configure.in: Remove standardized set of autoconf macros, which diff --git a/src/tests/asn.1/ktest.h b/src/tests/asn.1/ktest.h index 3465d244c..512eb3184 100644 --- a/src/tests/asn.1/ktest.h +++ b/src/tests/asn.1/ktest.h @@ -10,121 +10,121 @@ #define SAMPLE_FLAGS 0xFEDCBA98 #define SAMPLE_ERROR 0x3C; krb5_error_code ktest_make_sample_data - PROTOTYPE((krb5_data *d)); + KRB5_PROTOTYPE((krb5_data *d)); krb5_error_code ktest_make_sample_authenticator - PROTOTYPE((krb5_authenticator *a)); + KRB5_PROTOTYPE((krb5_authenticator *a)); krb5_error_code ktest_make_sample_principal - PROTOTYPE((krb5_principal *p)); + KRB5_PROTOTYPE((krb5_principal *p)); krb5_error_code ktest_make_sample_checksum - PROTOTYPE((krb5_checksum *cs)); + KRB5_PROTOTYPE((krb5_checksum *cs)); krb5_error_code ktest_make_sample_keyblock - PROTOTYPE((krb5_keyblock *kb)); + KRB5_PROTOTYPE((krb5_keyblock *kb)); krb5_error_code ktest_make_sample_ticket - PROTOTYPE((krb5_ticket *tkt)); + KRB5_PROTOTYPE((krb5_ticket *tkt)); krb5_error_code ktest_make_sample_enc_data - PROTOTYPE((krb5_enc_data *ed)); + KRB5_PROTOTYPE((krb5_enc_data *ed)); krb5_error_code ktest_make_sample_enc_tkt_part - PROTOTYPE((krb5_enc_tkt_part *etp)); + KRB5_PROTOTYPE((krb5_enc_tkt_part *etp)); krb5_error_code ktest_make_sample_transited - PROTOTYPE((krb5_transited *t)); + KRB5_PROTOTYPE((krb5_transited *t)); krb5_error_code ktest_make_sample_ticket_times - PROTOTYPE((krb5_ticket_times *tt)); + KRB5_PROTOTYPE((krb5_ticket_times *tt)); krb5_error_code ktest_make_sample_addresses - PROTOTYPE((krb5_address ***caddrs)); + KRB5_PROTOTYPE((krb5_address ***caddrs)); krb5_error_code ktest_make_sample_address - PROTOTYPE((krb5_address *a)); + KRB5_PROTOTYPE((krb5_address *a)); krb5_error_code ktest_make_sample_authorization_data - PROTOTYPE((krb5_authdata ***ad)); + KRB5_PROTOTYPE((krb5_authdata ***ad)); krb5_error_code ktest_make_sample_authdata - PROTOTYPE((krb5_authdata *ad)); + KRB5_PROTOTYPE((krb5_authdata *ad)); krb5_error_code ktest_make_sample_enc_kdc_rep_part - PROTOTYPE((krb5_enc_kdc_rep_part *ekr)); + KRB5_PROTOTYPE((krb5_enc_kdc_rep_part *ekr)); krb5_error_code ktest_make_sample_kdc_req - PROTOTYPE((krb5_kdc_req *kr)); + KRB5_PROTOTYPE((krb5_kdc_req *kr)); krb5_error_code ktest_make_sample_last_req - PROTOTYPE((krb5_last_req_entry ***lr)); + KRB5_PROTOTYPE((krb5_last_req_entry ***lr)); krb5_error_code ktest_make_sample_last_req_entry - PROTOTYPE((krb5_last_req_entry **lre)); + KRB5_PROTOTYPE((krb5_last_req_entry **lre)); krb5_error_code ktest_make_sample_kdc_rep - PROTOTYPE((krb5_kdc_rep *kdcr)); + KRB5_PROTOTYPE((krb5_kdc_rep *kdcr)); krb5_error_code ktest_make_sample_pa_data_array - PROTOTYPE((krb5_pa_data ***pad)); + KRB5_PROTOTYPE((krb5_pa_data ***pad)); krb5_error_code ktest_make_sample_pa_data - PROTOTYPE((krb5_pa_data *pad)); + KRB5_PROTOTYPE((krb5_pa_data *pad)); krb5_error_code ktest_make_sample_ap_req - PROTOTYPE((krb5_ap_req *ar)); + KRB5_PROTOTYPE((krb5_ap_req *ar)); krb5_error_code ktest_make_sample_ap_rep - PROTOTYPE((krb5_ap_rep *ar)); + KRB5_PROTOTYPE((krb5_ap_rep *ar)); krb5_error_code ktest_make_sample_ap_rep_enc_part - PROTOTYPE((krb5_ap_rep_enc_part *arep)); + KRB5_PROTOTYPE((krb5_ap_rep_enc_part *arep)); krb5_error_code ktest_make_sample_kdc_req_body - PROTOTYPE((krb5_kdc_req *krb)); + KRB5_PROTOTYPE((krb5_kdc_req *krb)); krb5_error_code ktest_make_sample_safe - PROTOTYPE((krb5_safe *s)); + KRB5_PROTOTYPE((krb5_safe *s)); krb5_error_code ktest_make_sample_priv - PROTOTYPE((krb5_priv *p)); + KRB5_PROTOTYPE((krb5_priv *p)); krb5_error_code ktest_make_sample_priv_enc_part - PROTOTYPE((krb5_priv_enc_part *pep)); + KRB5_PROTOTYPE((krb5_priv_enc_part *pep)); krb5_error_code ktest_make_sample_cred - PROTOTYPE((krb5_cred *c)); + KRB5_PROTOTYPE((krb5_cred *c)); krb5_error_code ktest_make_sample_cred_enc_part - PROTOTYPE((krb5_cred_enc_part *cep)); + KRB5_PROTOTYPE((krb5_cred_enc_part *cep)); krb5_error_code ktest_make_sample_sequence_of_ticket - PROTOTYPE((krb5_ticket ***sot)); + KRB5_PROTOTYPE((krb5_ticket ***sot)); krb5_error_code ktest_make_sample_error - PROTOTYPE((krb5_error *kerr)); + KRB5_PROTOTYPE((krb5_error *kerr)); krb5_error_code ktest_make_sequence_of_cred_info - PROTOTYPE((krb5_cred_info ***soci)); + KRB5_PROTOTYPE((krb5_cred_info ***soci)); krb5_error_code ktest_make_sample_cred_info - PROTOTYPE((krb5_cred_info *ci)); + KRB5_PROTOTYPE((krb5_cred_info *ci)); krb5_error_code ktest_make_sample_passwd_phrase_element - PROTOTYPE((passwd_phrase_element *ppe)); + KRB5_PROTOTYPE((passwd_phrase_element *ppe)); krb5_error_code ktest_make_sample_krb5_pwd_data - PROTOTYPE((krb5_pwd_data *pd)); + KRB5_PROTOTYPE((krb5_pwd_data *pd)); /*----------------------------------------------------------------------*/ void ktest_empty_authorization_data - PROTOTYPE((krb5_authdata **ad)); + KRB5_PROTOTYPE((krb5_authdata **ad)); void ktest_destroy_authorization_data - PROTOTYPE((krb5_authdata ***ad)); + KRB5_PROTOTYPE((krb5_authdata ***ad)); void ktest_destroy_authorization_data - PROTOTYPE((krb5_authdata ***ad)); + KRB5_PROTOTYPE((krb5_authdata ***ad)); void ktest_empty_addresses - PROTOTYPE((krb5_address **a)); + KRB5_PROTOTYPE((krb5_address **a)); void ktest_destroy_addresses - PROTOTYPE((krb5_address ***a)); + KRB5_PROTOTYPE((krb5_address ***a)); void ktest_destroy_address - PROTOTYPE((krb5_address **a)); + KRB5_PROTOTYPE((krb5_address **a)); void ktest_empty_pa_data_array - PROTOTYPE((krb5_pa_data **pad)); + KRB5_PROTOTYPE((krb5_pa_data **pad)); void ktest_destroy_pa_data_array - PROTOTYPE((krb5_pa_data ***pad)); + KRB5_PROTOTYPE((krb5_pa_data ***pad)); void ktest_destroy_pa_data - PROTOTYPE((krb5_pa_data **pad)); + KRB5_PROTOTYPE((krb5_pa_data **pad)); void ktest_destroy_data - PROTOTYPE((krb5_data **d)); + KRB5_PROTOTYPE((krb5_data **d)); void ktest_empty_data - PROTOTYPE((krb5_data *d)); + KRB5_PROTOTYPE((krb5_data *d)); void ktest_destroy_principal - PROTOTYPE((krb5_principal *p)); + KRB5_PROTOTYPE((krb5_principal *p)); void ktest_destroy_checksum - PROTOTYPE((krb5_checksum **cs)); + KRB5_PROTOTYPE((krb5_checksum **cs)); void ktest_destroy_keyblock - PROTOTYPE((krb5_keyblock **kb)); + KRB5_PROTOTYPE((krb5_keyblock **kb)); void ktest_destroy_authdata - PROTOTYPE((krb5_authdata **ad)); + KRB5_PROTOTYPE((krb5_authdata **ad)); void ktest_destroy_sequence_of_integer - PROTOTYPE((long **soi)); + KRB5_PROTOTYPE((long **soi)); void ktest_destroy_sequence_of_enctype - PROTOTYPE((krb5_enctype **soi)); + KRB5_PROTOTYPE((krb5_enctype **soi)); void ktest_destroy_sequence_of_ticket - PROTOTYPE((krb5_ticket ***sot)); + KRB5_PROTOTYPE((krb5_ticket ***sot)); void ktest_destroy_ticket - PROTOTYPE((krb5_ticket **tkt)); + KRB5_PROTOTYPE((krb5_ticket **tkt)); void ktest_destroy_enc_data - PROTOTYPE((krb5_enc_data *ed)); + KRB5_PROTOTYPE((krb5_enc_data *ed)); #endif diff --git a/src/tests/asn.1/ktest_equal.h b/src/tests/asn.1/ktest_equal.h index 5b71c437d..a88d56555 100644 --- a/src/tests/asn.1/ktest_equal.h +++ b/src/tests/asn.1/ktest_equal.h @@ -10,10 +10,10 @@ Returns false (zero) if ref and var differ. */ #define generic(funcname,type)\ -int funcname PROTOTYPE((type *ref, type *var)) +int funcname KRB5_PROTOTYPE((type *ref, type *var)) #define len_array(funcname,type)\ -int funcname PROTOTYPE((const int length, type *ref, type *var)) +int funcname KRB5_PROTOTYPE((const int length, type *ref, type *var)) generic(ktest_equal_authenticator,krb5_authenticator); generic(ktest_equal_principal_data,krb5_principal_data); @@ -54,25 +54,25 @@ generic(ktest_equal_passwd_phrase_element,passwd_phrase_element); generic(ktest_equal_krb5_pwd_data,krb5_pwd_data); int ktest_equal_last_req - PROTOTYPE((krb5_last_req_entry **ref, krb5_last_req_entry **var)); + KRB5_PROTOTYPE((krb5_last_req_entry **ref, krb5_last_req_entry **var)); int ktest_equal_sequence_of_ticket - PROTOTYPE((krb5_ticket **ref, krb5_ticket **var)); + KRB5_PROTOTYPE((krb5_ticket **ref, krb5_ticket **var)); int ktest_equal_sequence_of_pa_data - PROTOTYPE((krb5_pa_data **ref, krb5_pa_data **var)); + KRB5_PROTOTYPE((krb5_pa_data **ref, krb5_pa_data **var)); int ktest_equal_sequence_of_cred_info - PROTOTYPE((krb5_cred_info **ref, krb5_cred_info **var)); + KRB5_PROTOTYPE((krb5_cred_info **ref, krb5_cred_info **var)); len_array(ktest_equal_array_of_enctype,krb5_enctype); len_array(ktest_equal_array_of_data,krb5_data); len_array(ktest_equal_array_of_octet,krb5_octet); int ktest_equal_array_of_passwd_phrase_element - PROTOTYPE((passwd_phrase_element **ref, passwd_phrase_element **var)); + KRB5_PROTOTYPE((passwd_phrase_element **ref, passwd_phrase_element **var)); int ktest_equal_authorization_data - PROTOTYPE((krb5_authdata **ref, krb5_authdata **var)); + KRB5_PROTOTYPE((krb5_authdata **ref, krb5_authdata **var)); int ktest_equal_addresses - PROTOTYPE((krb5_address **ref, krb5_address **var)); + KRB5_PROTOTYPE((krb5_address **ref, krb5_address **var)); int ktest_equal_array_of_char - PROTOTYPE((const int length, char *ref, char *var)); + KRB5_PROTOTYPE((const int length, char *ref, char *var)); #endif