* asn1_decode.c: move declaration of gmt_mktime() outside of
authorTom Yu <tlyu@mit.edu>
Sat, 25 Mar 1995 19:14:42 +0000 (19:14 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 25 Mar 1995 19:14:42 +0000 (19:14 +0000)
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

src/lib/krb5/asn.1/ChangeLog
src/lib/krb5/asn.1/asn1_decode.c

index be09f397cbbf23a39d6db772f99adce8e60f4e75..6bcf12ddbde0515be112e1e47bea621cc9f6b863 100644 (file)
@@ -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
index b2f11db25c8ffa6b69ebab57fc9b20eb3c1bd5c7..c12e3a5cd3b313c5d757a1c6db35820f8856e2b9 100644 (file)
@@ -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);