diff options
author | Ken Raeburn <raeburn@mit.edu> | 2001-10-10 03:18:22 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2001-10-10 03:18:22 +0000 |
commit | 7613acc70e37ebabd7743da02da4f4ff0d218d5c (patch) | |
tree | ea7b08ad73cfb7cd8a5ca8e77a9fb646770804f0 /src/lib/krb5/asn.1/asn1_encode.h | |
parent | ad4d9f8d0f83524931da62aebb592ab53f2218d9 (diff) | |
download | krb5-7613acc70e37ebabd7743da02da4f4ff0d218d5c.tar.gz krb5-7613acc70e37ebabd7743da02da4f4ff0d218d5c.tar.xz krb5-7613acc70e37ebabd7743da02da4f4ff0d218d5c.zip |
Don't conditionalize prototypes; delete macros supporting it. (Maybe overdone;
don't worry about restoring them when importing new versions of code.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13792 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/asn.1/asn1_encode.h')
-rw-r--r-- | src/lib/krb5/asn.1/asn1_encode.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/lib/krb5/asn.1/asn1_encode.h b/src/lib/krb5/asn.1/asn1_encode.h index 06ba6f3fe7..e5ae4bbb15 100644 --- a/src/lib/krb5/asn.1/asn1_encode.h +++ b/src/lib/krb5/asn.1/asn1_encode.h @@ -50,7 +50,7 @@ */ asn1_error_code asn1_encode_integer - PROTOTYPE((asn1buf *buf, const long val, unsigned int *retlen)); + (asn1buf *buf, const long val, unsigned int *retlen); /* requires *buf is allocated modifies *buf, *retlen effects Inserts the encoding of val into *buf and returns @@ -59,8 +59,8 @@ asn1_error_code asn1_encode_integer to expand the buffer. */ asn1_error_code asn1_encode_unsigned_integer - PROTOTYPE((asn1buf *buf, const unsigned long val, - unsigned int *retlen)); + (asn1buf *buf, const unsigned long val, + unsigned int *retlen); /* requires *buf is allocated modifies *buf, *retlen effects Inserts the encoding of val into *buf and returns @@ -69,9 +69,9 @@ asn1_error_code asn1_encode_unsigned_integer to expand the buffer. */ asn1_error_code asn1_encode_octetstring - PROTOTYPE((asn1buf *buf, + (asn1buf *buf, const unsigned int len, const asn1_octet *val, - unsigned int *retlen)); + unsigned int *retlen); /* requires *buf is allocated modifies *buf, *retlen effects Inserts the encoding of val into *buf and returns @@ -80,9 +80,9 @@ asn1_error_code asn1_encode_octetstring to expand the buffer. */ asn1_error_code asn1_encode_charstring - PROTOTYPE((asn1buf *buf, + (asn1buf *buf, const unsigned int len, const char *val, - unsigned int *retlen)); + unsigned int *retlen); /* requires *buf is allocated modifies *buf, *retlen effects Inserts the encoding of val into *buf and returns @@ -91,7 +91,7 @@ asn1_error_code asn1_encode_charstring to expand the buffer. */ asn1_error_code asn1_encode_null - PROTOTYPE((asn1buf *buf, int *retlen)); + (asn1buf *buf, int *retlen); /* requires *buf is allocated modifies *buf, *retlen effects Inserts the encoding of NULL into *buf and returns @@ -100,9 +100,9 @@ asn1_error_code asn1_encode_null to expand the buffer. */ asn1_error_code asn1_encode_printablestring - PROTOTYPE((asn1buf *buf, + (asn1buf *buf, const unsigned int len, const char *val, - int *retlen)); + int *retlen); /* requires *buf is allocated modifies *buf, *retlen effects Inserts the encoding of val into *buf and returns @@ -111,9 +111,9 @@ asn1_error_code asn1_encode_printablestring to expand the buffer. */ asn1_error_code asn1_encode_ia5string - PROTOTYPE((asn1buf *buf, + (asn1buf *buf, const unsigned int len, const char *val, - int *retlen)); + int *retlen); /* requires *buf is allocated modifies *buf, *retlen effects Inserts the encoding of val into *buf and returns @@ -122,7 +122,7 @@ asn1_error_code asn1_encode_ia5string to expand the buffer. */ asn1_error_code asn1_encode_generaltime - PROTOTYPE((asn1buf *buf, const time_t val, unsigned int *retlen)); + (asn1buf *buf, const time_t val, unsigned int *retlen); /* requires *buf is allocated modifies *buf, *retlen effects Inserts the encoding of val into *buf and returns @@ -132,9 +132,9 @@ asn1_error_code asn1_encode_generaltime Note: The encoding of GeneralizedTime is YYYYMMDDhhmmZ */ asn1_error_code asn1_encode_generalstring - PROTOTYPE((asn1buf *buf, + (asn1buf *buf, const unsigned int len, const char *val, - unsigned int *retlen)); + unsigned int *retlen); /* requires *buf is allocated, val has a length of len characters modifies *buf, *retlen effects Inserts the encoding of val into *buf and returns |