From 0bda30e1ffd23488aa4a9b73f228089463fbee1a Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sun, 3 Dec 2017 20:25:16 -0600 Subject: ansification: remove _CONST Signed-off-by: Yaakov Selkowitz --- newlib/libc/time/lcltime_r.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'newlib/libc/time/lcltime_r.c') diff --git a/newlib/libc/time/lcltime_r.c b/newlib/libc/time/lcltime_r.c index 9abf683..3eba498 100644 --- a/newlib/libc/time/lcltime_r.c +++ b/newlib/libc/time/lcltime_r.c @@ -17,14 +17,14 @@ struct tm * _DEFUN (localtime_r, (tim_p, res), - _CONST time_t *__restrict tim_p, + const time_t *__restrict tim_p, struct tm *__restrict res) { long offset; int hours, mins, secs; int year; - __tzinfo_type *_CONST tz = __gettzinfo (); - _CONST int *ip; + __tzinfo_type *const tz = __gettzinfo (); + const int *ip; res = gmtime_r (tim_p, res); -- cgit v1.1