use const pointer in translator
authorJohn Kohl <jtkohl@mit.edu>
Mon, 22 Oct 1990 13:44:50 +0000 (13:44 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 22 Oct 1990 13:44:50 +0000 (13:44 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1303 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/asn.1/encode.h
src/lib/krb5/asn.1/encode.c

index a40172f6ccfca0afe2238b23190103c1e4237ac5..dc1985d536deaed6f61e30a29fa47274c7983773 100644 (file)
@@ -26,7 +26,7 @@ krb5_error_code krb5_encode_generic
     PROTOTYPE((krb5_const_pointer,
               krb5_data **,
               int (* )PROTOTYPE ((PE *,int,int,char *,krb5_pointer )),
-              krb5_pointer (* )PROTOTYPE ((krb5_pointer,int *)),
+              krb5_pointer (* )PROTOTYPE ((krb5_const_pointer,int *)),
               void (* )PROTOTYPE ((krb5_pointer ))));
 krb5_error_code krb5_decode_generic
        PROTOTYPE((const krb5_data *,
index 8caadd841ff3a6738b96320d801c8c795143a6bf..0f2f44a718360105c24d392758966fc8178407bc 100644 (file)
@@ -31,7 +31,7 @@ krb5_encode_generic(input, data_out, encoder, translator, free_translation)
 krb5_const_pointer input;
 register krb5_data **data_out;
 int (*encoder) PROTOTYPE((PE *, int, int, char *, krb5_pointer));
-krb5_pointer (*translator) PROTOTYPE((krb5_pointer, int * ));
+krb5_pointer (*translator) PROTOTYPE((krb5_const_pointer, int * ));
 void (*free_translation) PROTOTYPE((krb5_pointer ));
 {
     krb5_pointer isode_out;