Change PROTOTYPE -> KRB5_PROTOTYPE
authorTheodore Tso <tytso@mit.edu>
Wed, 21 Jun 1995 15:04:11 +0000 (15:04 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 21 Jun 1995 15:04:11 +0000 (15:04 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6113 dc483132-0cff-0310-8789-dd5450dbe970

18 files changed:
src/clients/klist/ChangeLog
src/clients/klist/klist.c
src/kadmin.old/client/ChangeLog
src/kadmin.old/client/kadmin.c
src/kadmin.old/kpasswd/ChangeLog
src/kadmin.old/kpasswd/kpasswd.c
src/lib/crypto/crc32/ChangeLog
src/lib/crypto/crc32/crc.c
src/lib/crypto/md4/ChangeLog
src/lib/crypto/md4/md4crypto.c
src/lib/crypto/md4/md4glue.c
src/lib/crypto/md5/ChangeLog
src/lib/crypto/md5/md5.c
src/lib/crypto/md5/md5crypto.c
src/lib/crypto/md5/md5glue.c
src/tests/asn.1/ChangeLog
src/tests/asn.1/ktest.h
src/tests/asn.1/ktest_equal.h

index 753c263c631d17bfad367f57522c77741c7af7e7..cd72596062f5c161fa214bfbac913dc3b52290c1 100644 (file)
@@ -1,3 +1,6 @@
+Wed Jun 21 10:37:01 1995    <tytso@rsx-11.mit.edu>
+
+       * 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<lib> form, and
index 4030ca94b0a39bb71abf474b98f193d43d1ee9a9..ef3e78809429f57d6e1e910331cb51d4b98ba7c7 100644 (file)
@@ -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
index 0dd2b9c797c5d492bbaa0ec7f9a36607fd98df79..2fdca5600a86dbd00be0aa3678ba89b923f8bdfd 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jun 21 10:49:32 1995    <tytso@rsx-11.mit.edu>
+
+       * kadmin.c: Change PROTOTYPE -> KRB5_PROTOTYPE
+
 Tue Jun 20 19:00:32 1995  Mark Eichin  <eichin@cygnus.com>
 
        * configure.in: switch obsolete AC_HAVE_HEADER to AC_CHECK_HEADERS.
index a18cebe706aabcc7fee3fe9f6ca9b29c59d946ef..f6fb91973c4528ba79a16ef2e27e8b2f72d5caa6 100644 (file)
@@ -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();
index c3a808026de9cc76bbefb720a8a1351c80e20fab..9be1f7c82fc888018e6741dfd8f0a97ae911119e 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jun 21 10:50:33 1995    <tytso@rsx-11.mit.edu>
+
+       * 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
index c5cb5b9b8699e2342dbeb3b0f530b039205dbbf3..53bdc8da0ebe053d3d1c4f5a335151098e10e51d 100644 (file)
@@ -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;
 
index c806bf72ad585392f324b210c11551bd7a53c191..778c9e57a2b8d22455ca07d0ed2c6428d60079cc 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jun 21 10:51:33 1995    <tytso@rsx-11.mit.edu>
+
+       * crc.c: Change PROTOTYPE -> KRB5_PROTOTYPE
+
 Fri Jun  9 19:18:36 1995    <tytso@rsx-11.mit.edu>
 
        * configure.in: Remove standardized set of autoconf macros, which
index 3ecdd75f72fdf1ac351522076e3707ecfdd1fa56..1b96bab33ba18ced79350ab60698d6ab7b26463e 100644 (file)
@@ -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
index d65d5697f2298e58d541fd83c5a9d63c5fd01f43..8b0eddb0ca6ea30000c62027f2b1fa55af57a2a9 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jun 21 10:52:07 1995    <tytso@rsx-11.mit.edu>
+
+       * md4crypto.c, md4glue.c: Change PROTOTYPE -> KRB5_PROTOTYPE
+
 Fri Jun  9 19:18:17 1995    <tytso@rsx-11.mit.edu>
 
        * md4crypto.c: Fix -Wall nits
index 16074eabd708a2ae7fc18603970cd8d6d0898775..40ad9bd80451efc987d36b8d6537d57027aee230 100644 (file)
@@ -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
index 3a3d2e7da3c1d3bb9cdf9e7a0bbaf3e9148a521e..caa0a3376f914fe7ec0c49361299d559fb5bfd93 100644 (file)
@@ -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
index 30d18c47d2791626c73bce86c1869015a40793a1..1707444270a612327f9765f28be3a26bfc12f2b2 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jun 21 10:52:20 1995    <tytso@rsx-11.mit.edu>
+
+       * md5crypto.c, md5glue.c: Change PROTOTYPE -> KRB5_PROTOTYPE
+
 Fri Jun  9 19:18:24 1995    <tytso@rsx-11.mit.edu>
 
        * md5crypto.c: Fix -Wall nits
index beff1a2de5cb829167095dfdb58489eb5dd23b8f..1cf645e8ba43edfb4aa804e95eb09cb4a70fc938 100644 (file)
@@ -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,
index 79581d64d002f669f4c90fce6684301b824f27d9..8cca051bda66654defd7ab7a2fd83990f7478ba7 100644 (file)
@@ -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
index 01282ffafbbb151834438fe14ef30c7d065e35e3..db2351fbfc2277e240383005c12244cf4e319421 100644 (file)
@@ -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
index a6dce1146ac9352b85e88e66e70883eca85dee37..0dade2ec05d1bdd8471a04bf21e4e007e5ee59c5 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jun 20 14:56:53 1995    <tytso@rsx-11.mit.edu>
+
+       * ktest.h, ktest_equal.h: Change PROTOTYPE to KRB5_PROTOTYPE
+
 Fri Jun  9 18:57:22 1995    <tytso@rsx-11.mit.edu>
 
        * configure.in: Remove standardized set of autoconf macros, which
index 3465d244ce18e39879368dde0af52a2f8df479ce..512eb3184a68499b05985fd12b8b4ca42e5e5756 100644 (file)
 #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
index 5b71c437d8ec802641025c88ddafd5c788aa2c80..a88d56555023280b02378d0381fc3853eb4c92f6 100644 (file)
            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