aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/asn.1/asn1buf.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/asn1buf.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/asn1buf.h')
-rw-r--r--src/lib/krb5/asn.1/asn1buf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/krb5/asn.1/asn1buf.h b/src/lib/krb5/asn.1/asn1buf.h
index 854801e..c9c956a 100644
--- a/src/lib/krb5/asn.1/asn1buf.h
+++ b/src/lib/krb5/asn.1/asn1buf.h
@@ -122,10 +122,10 @@ asn1_error_code asn1buf_imbed
position starts at the beginning of *subbuf. */
asn1_error_code asn1buf_sync
- (asn1buf *buf, asn1buf *subbuf, const asn1_class Class,
- const asn1_tagnum lasttag,
- const unsigned int length, const int indef,
- const int seqindef);
+ (asn1buf *buf, asn1buf *subbuf, asn1_class Class,
+ asn1_tagnum lasttag,
+ unsigned int length, int indef,
+ int seqindef);
/* requires *subbuf is a sub-buffer of *buf, as created by asn1buf_imbed.
lasttag is the last tagnumber read.
effects Synchronizes *buf's current position to match that of *subbuf. */