put in const where appropriate
authorJohn Kohl <jtkohl@mit.edu>
Mon, 25 Feb 1991 15:55:11 +0000 (15:55 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 25 Feb 1991 15:55:11 +0000 (15:55 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1781 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/gen_port.c
src/lib/krb5/os/gen_rname.c
src/lib/krb5/os/os-proto.h
src/lib/krb5/os/port2ip.c

index b2915cf1725331c0a77b290f27867575a78e265f..7cefd78244052e2d8f0cf956a879db82ff5e46dd 100644 (file)
@@ -24,8 +24,8 @@ static char rcsid_gen_port_c[] =
 
 krb5_error_code
 krb5_gen_portaddr(addr, ptr, outaddr)
-krb5_address *addr;
-krb5_pointer ptr;
+const krb5_address *addr;
+krb5_const_pointer ptr;
 krb5_address **outaddr;
 {
 #ifdef KRB5_USE_INET
index ad5b6f217140ea1f72bbf08884c902585036e863..24c32ef6e1d5662027060dd5a31b4fdf60334f43 100644 (file)
@@ -31,7 +31,7 @@ static char rcsid_gen_rname_c[] =
 
 krb5_error_code
 krb5_gen_replay_name(address, uniq, string)
-krb5_address *address;
+const krb5_address *address;
 const char *uniq;
 char **string;
 {
index b01feabae326d79a3d68110031a2bb5e3f352dc1..454d571e6c6fc24d49a3ce217d4088ded1c745fa 100644 (file)
@@ -24,7 +24,7 @@ krb5_error_code krb5_locate_kdc
 
 #ifdef KRB5_USE_INET
 krb5_error_code krb5_unpack_full_ipaddr
-    PROTOTYPE((krb5_address *,
+    PROTOTYPE((const krb5_address *,
               krb5_int32 *,
               krb5_int16 *));
 
index fd9baddcf15a9eb16f4cfd136d2d9fe3b50d2072..48ecc902b3ccc1dcc3b40edfba8c99cd6a392505 100644 (file)
@@ -28,7 +28,7 @@ static char rcsid_port2ip_c[] =
 
 krb5_error_code
 krb5_unpack_full_ipaddr(inaddr, adr, port)
-krb5_address *inaddr;
+const krb5_address *inaddr;
 krb5_int32 *adr;
 krb5_int16 *port;
 {