Commit 21e09952 by Richard Henderson Committed by Richard Henderson

adaint.c (__gnat_to_gm_time): First arg is int, not time_t.

        * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
        * adaint.h (__gnat_to_gm_time): Update prototype.

From-SVN: r49596
parent b137f9fc
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> 2002-01-30 Richard Henderson <rth@redhat.com>
* trans.c (tree_transform) [N_Loop_Statement]: Use * trans.c (tree_transform) [N_Loop_Statement]: Use
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* * * *
* A D A I N T * * A D A I N T *
* * * *
* $Revision$ * $Revision: 1.6 $
* * * *
* C Implementation File * * C Implementation File *
* * * *
...@@ -212,8 +212,7 @@ const char *__gnat_library_template = GNAT_LIBRARY_TEMPLATE; ...@@ -212,8 +212,7 @@ const char *__gnat_library_template = GNAT_LIBRARY_TEMPLATE;
void void
__gnat_to_gm_time (p_time, p_year, p_month, p_day, p_hours, p_mins, p_secs) __gnat_to_gm_time (p_time, p_year, p_month, p_day, p_hours, p_mins, p_secs)
time_t *p_time; int *p_time, *p_year, *p_month, *p_day, *p_hours, *p_mins, *p_secs;
int *p_year, *p_month, *p_day, *p_hours, *p_mins, *p_secs;
{ {
struct tm *res; struct tm *res;
time_t time = *p_time; time_t time = *p_time;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* * * *
* A D A I N T * * A D A I N T *
* * * *
* $Revision$ * $Revision: 1.4 $
* * * *
* C Header File * * C Header File *
* * * *
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include <dirent.h> #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 *, int *, int *, int *,
int *)); int *));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment