summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/asn.1/ChangeLog6
-rw-r--r--src/lib/krb5/asn.1/asn1_decode.c3
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);