From b4880fffa05009bdf06cd3fc6a9be267b582e1be Mon Sep 17 00:00:00 2001 From: John Kohl Date: Mon, 22 Oct 1990 15:35:12 +0000 Subject: [PATCH] fix up types on encode_generic, decode_generic, translator_func git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1306 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/asn.1/encode.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/include/krb5/asn.1/encode.h b/src/include/krb5/asn.1/encode.h index dc1985d53..f793e05f7 100644 --- a/src/include/krb5/asn.1/encode.h +++ b/src/include/krb5/asn.1/encode.h @@ -18,22 +18,22 @@ typedef int (*encoder_func) PROTOTYPE((PE *, int, int, char *, krb5_pointer)); typedef void (*free_func) PROTOTYPE((krb5_pointer )); -typedef krb5_pointer (*translator_func) PROTOTYPE((krb5_pointer, int * )); +typedef krb5_pointer (*translator_func) PROTOTYPE((krb5_const_pointer, int * )); typedef int (*decoder_func) PROTOTYPE((PE, int, int, char *, krb5_pointer)); /* encode.c */ krb5_error_code krb5_encode_generic PROTOTYPE((krb5_const_pointer, krb5_data **, - int (* )PROTOTYPE ((PE *,int,int,char *,krb5_pointer )), - krb5_pointer (* )PROTOTYPE ((krb5_const_pointer,int *)), - void (* )PROTOTYPE ((krb5_pointer )))); + encoder_func, + translator_func, + free_func)); krb5_error_code krb5_decode_generic PROTOTYPE((const krb5_data *, krb5_pointer *, - int (* )PROTOTYPE ((PE,int,int,char *,krb5_pointer )), - krb5_pointer (* )PROTOTYPE ((krb5_pointer,int *)), - void (* )PROTOTYPE ((krb5_pointer )))); + decoder_func, + translator_func, + free_func)); /* decode_arp.c */ krb5_error_code decode_krb5_as_rep -- 2.26.2