From 21e0995208e685804f2a1ef173b94a50c0a597c7 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 7 Feb 2002 15:53:29 -0800 Subject: [PATCH] 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 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/adaint.c | 5 ++--- gcc/ada/adaint.h | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 0fa60024317..896382e5942 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2002-02-07 Richard Henderson + + * 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 * trans.c (tree_transform) [N_Loop_Statement]: Use diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c index e284236f34f..8ce557ab8bd 100644 --- a/gcc/ada/adaint.c +++ b/gcc/ada/adaint.c @@ -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; 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; diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h index 8bcdbcf46f6..737e478d299 100644 --- a/gcc/ada/adaint.h +++ b/gcc/ada/adaint.h @@ -4,7 +4,7 @@ * * * A D A I N T * * * - * $Revision$ + * $Revision: 1.4 $ * * * C Header File * * * @@ -34,7 +34,7 @@ #include -extern void __gnat_to_gm_time PARAMS ((time_t *, int *, +extern void __gnat_to_gm_time PARAMS ((int *, int *, int *, int *, int *, int *, int *)); -- 2.30.2