From 6c2c5f27f5248d8bb574d4cf09592c619a9944c5 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Mon, 22 Oct 1990 13:44:50 +0000 Subject: [PATCH] use const pointer in translator git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1303 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/asn.1/encode.h | 2 +- src/lib/krb5/asn.1/encode.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/krb5/asn.1/encode.h b/src/include/krb5/asn.1/encode.h index a40172f6c..dc1985d53 100644 --- a/src/include/krb5/asn.1/encode.h +++ b/src/include/krb5/asn.1/encode.h @@ -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 *, diff --git a/src/lib/krb5/asn.1/encode.c b/src/lib/krb5/asn.1/encode.c index 8caadd841..0f2f44a71 100644 --- a/src/lib/krb5/asn.1/encode.c +++ b/src/lib/krb5/asn.1/encode.c @@ -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; -- 2.26.2