diff options
| author | Tom Yu <tlyu@mit.edu> | 1995-03-25 19:14:42 +0000 |
|---|---|---|
| committer | Tom Yu <tlyu@mit.edu> | 1995-03-25 19:14:42 +0000 |
| commit | 96849fc16cc2995fbec954258da050963e60c3da (patch) | |
| tree | f0cd4a0ab45b42e8221ad352b98fa0ac71ed7a41 /src/lib | |
| parent | dec1e9393dd498775ca8291783e8a79e6e9e7f38 (diff) | |
| download | krb5-96849fc16cc2995fbec954258da050963e60c3da.tar.gz krb5-96849fc16cc2995fbec954258da050963e60c3da.tar.xz krb5-96849fc16cc2995fbec954258da050963e60c3da.zip | |
* asn1_decode.c: move declaration of gmt_mktime() outside of
asn1_decode_generaltime() so that compilers like Ultrix cc that
don't support prototypes within function bodies don't break
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5246 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/krb5/asn.1/ChangeLog | 6 | ||||
| -rw-r--r-- | src/lib/krb5/asn.1/asn1_decode.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/krb5/asn.1/ChangeLog b/src/lib/krb5/asn.1/ChangeLog index be09f397c..6bcf12ddb 100644 --- a/src/lib/krb5/asn.1/ChangeLog +++ b/src/lib/krb5/asn.1/ChangeLog @@ -1,3 +1,9 @@ +Sat Mar 25 14:12:31 1995 Tom Yu (tlyu@dragons-lair) + + * asn1_decode.c: move declaration of gmt_mktime() outside of + asn1_decode_generaltime() so that compilers like Ultrix cc that + don't support prototypes within function bodies don't break + Fri Mar 17 19:05:22 1995 John Gilmore (gnu at toad.com) * Makefile.in: Remove redundant definitions from config/pre.in diff --git a/src/lib/krb5/asn.1/asn1_decode.c b/src/lib/krb5/asn.1/asn1_decode.c index b2f11db25..c12e3a5cd 100644 --- a/src/lib/krb5/asn.1/asn1_decode.c +++ b/src/lib/krb5/asn.1/asn1_decode.c @@ -50,6 +50,8 @@ if(class != UNIVERSAL || construction != PRIMITIVE || tagnum != type)\ #define cleanup()\ return 0 +time_t gmt_mktime PROTOTYPE((struct tm *)); + asn1_error_code INTERFACE asn1_decode_integer(buf, val) asn1buf * buf; long * val; @@ -172,7 +174,6 @@ asn1_error_code INTERFACE asn1_decode_generaltime(buf, val) char *s; struct tm ts; time_t t; - time_t gmt_mktime PROTOTYPE((struct tm *)); tag(ASN1_GENERALTIME); |
