adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
authorRichard Henderson <rth@redhat.com>
Thu, 7 Feb 2002 23:53:29 +0000 (15:53 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 7 Feb 2002 23:53:29 +0000 (15:53 -0800)
        * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
        * adaint.h (__gnat_to_gm_time): Update prototype.

From-SVN: r49596

gcc/ada/ChangeLog
gcc/ada/adaint.c
gcc/ada/adaint.h

index 0fa600243173512cd625a7868de6ae50e0734a48..896382e5942e8616da4e5239e9dc724e1948bed7 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-07  Richard Henderson  <rth@redhat.com>
+
+       * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
+       * adaint.h (__gnat_to_gm_time): Update prototype.
+
 2002-01-30  Richard Henderson  <rth@redhat.com>
 
        * trans.c (tree_transform) [N_Loop_Statement]: Use
index e284236f34ff6b6b3b07a13d1b774e38e60db852..8ce557ab8bd6a54deb5e413dac92fbcd893c87d1 100644 (file)
@@ -4,7 +4,7 @@
  *                                                                          *
  *                               A D A I N T                                *
  *                                                                          *
- *                            $Revision$
+ *                            $Revision: 1.6 $
  *                                                                          *
  *                          C Implementation File                           *
  *                                                                          *
@@ -212,8 +212,7 @@ const char *__gnat_library_template = GNAT_LIBRARY_TEMPLATE;
 \f
 void
 __gnat_to_gm_time (p_time, p_year, p_month, p_day, p_hours, p_mins, p_secs)
-     time_t *p_time;
-     int *p_year, *p_month, *p_day, *p_hours, *p_mins, *p_secs;
+     int *p_time, *p_year, *p_month, *p_day, *p_hours, *p_mins, *p_secs;
 {
   struct tm *res;
   time_t time = *p_time;
index 8bcdbcf46f6e75c8c816cdead06230ebddd1cd39..737e478d299bb4f4bf3f03c87b78e8ec1f3bec8b 100644 (file)
@@ -4,7 +4,7 @@
  *                                                                          *
  *                               A D A I N T                                *
  *                                                                          *
- *                            $Revision$
+ *                            $Revision: 1.4 $
  *                                                                          *
  *                              C Header File                               *
  *                                                                          *
@@ -34,7 +34,7 @@
 
 #include <dirent.h>
 
-extern void   __gnat_to_gm_time                           PARAMS ((time_t *, int *,
+extern void   __gnat_to_gm_time                           PARAMS ((int *, int *,
                                                            int *, int *,
                                                            int *, int *,
                                                            int *));