From: Tom Yu Date: Sat, 25 Mar 1995 19:14:42 +0000 (+0000) Subject: * asn1_decode.c: move declaration of gmt_mktime() outside of X-Git-Tag: krb5-1.0-beta5~464 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=96849fc16cc2995fbec954258da050963e60c3da;p=krb5.git * 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 --- 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);