aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/asn.1/asn1_make.h
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2007-02-19 02:37:10 +0000
committerEzra Peisach <epeisach@mit.edu>2007-02-19 02:37:10 +0000
commita34576395e2c009c6ae9902cbdcf6acb84b20079 (patch)
tree4a1f2e9448e613ef07a7efe3c1fa1ae9732b773f /src/lib/krb5/asn.1/asn1_make.h
parent8d0dad364ce72219ee86c912746d9930602c9475 (diff)
downloadkrb5-a34576395e2c009c6ae9902cbdcf6acb84b20079.zip
krb5-a34576395e2c009c6ae9902cbdcf6acb84b20079.tar.gz
krb5-a34576395e2c009c6ae9902cbdcf6acb84b20079.tar.bz2
Ensure consistancy between prototypes and functions
I am using an older compiler that is complaining that prototypes do not match the functions they reference. The issue is that a number of prototypes are using "const int foo" while the function is "int foo". From a caller sense it makes no difference - but the compiler is correct they are different. All is now consistant. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19169 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/asn.1/asn1_make.h')
-rw-r--r--src/lib/krb5/asn.1/asn1_make.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/krb5/asn.1/asn1_make.h b/src/lib/krb5/asn.1/asn1_make.h
index 7150549..de13d7b 100644
--- a/src/lib/krb5/asn.1/asn1_make.h
+++ b/src/lib/krb5/asn.1/asn1_make.h
@@ -48,9 +48,9 @@
asn1_error_code asn1_make_etag
(asn1buf *buf,
- const asn1_class asn1class,
- const asn1_tagnum tagnum,
- const unsigned int in_len,
+ asn1_class asn1class,
+ asn1_tagnum tagnum,
+ unsigned int in_len,
unsigned int *retlen);
/* requires *buf is allocated, in_len is the length of an ASN.1 encoding
which has just been inserted in *buf
@@ -61,10 +61,10 @@ asn1_error_code asn1_make_etag
Returns ENOMEM if memory runs out. */
asn1_error_code asn1_make_tag
- (asn1buf *buf, const asn1_class asn1class,
- const asn1_construction construction,
- const asn1_tagnum tagnum,
- const unsigned int in_len,
+ (asn1buf *buf, asn1_class asn1class,
+ asn1_construction construction,
+ asn1_tagnum tagnum,
+ unsigned int in_len,
unsigned int *retlen);
/* requires *buf is allocated, in_len is the length of an ASN.1 encoding
which has just been inserted in *buf
@@ -121,9 +121,9 @@ asn1_error_code asn1_make_length
/* "helper" procedure for asn1_make_tag */
asn1_error_code asn1_make_id
(asn1buf *buf,
- const asn1_class asn1class,
- const asn1_construction construction,
- const asn1_tagnum tagnum,
+ asn1_class asn1class,
+ asn1_construction construction,
+ asn1_tagnum tagnum,
unsigned int *retlen);
/* requires *buf is allocated, asn1class and tagnum are appropriate for
the ASN.1 encoding which has just been inserted in *buf