From a6c1ed4716cf02626ea035beb6dd4a921642ba80 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Wed, 3 Jan 2018 17:39:24 -0700 Subject: Use libc from agbcc instead of standalone newlib\nYou must have AGBCC commit 80d029caec189587f8b9294b6c8a5a489b8f5f88 in order to compile pmd_red.gba --- newlib/libc/time/lcltime.c | 57 ---------------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 newlib/libc/time/lcltime.c (limited to 'newlib/libc/time/lcltime.c') diff --git a/newlib/libc/time/lcltime.c b/newlib/libc/time/lcltime.c deleted file mode 100644 index d4c7d7d..0000000 --- a/newlib/libc/time/lcltime.c +++ /dev/null @@ -1,57 +0,0 @@ -/* - * localtime.c - */ - -/* -FUNCTION -<>---convert time to local representation - -INDEX - localtime - -ANSI_SYNOPSIS - #include - struct tm *localtime(time_t *<[clock]>); - struct tm *localtime_r(time_t *<[clock]>, struct tm *<[res]>); - -TRAD_SYNOPSIS - #include - struct tm *localtime(<[clock]>) - time_t *<[clock]>; - struct tm *localtime(<[clock]>, <[res]>) - time_t *<[clock]>; - struct tm *<[res]>; - -DESCRIPTION -<> converts the time at <[clock]> into local time, then -converts its representation from the arithmetic representation to the -traditional representation defined by <>. - -<> constructs the traditional time representation in static -storage; each call to <> or <> will overwrite the -information generated by previous calls to either function. - -<> is the inverse of <>. - -RETURNS -A pointer to the traditional time representation (<>). - -PORTABILITY -ANSI C requires <>. - -<> requires no supporting OS subroutines. -*/ - -#include -#include - -#ifndef _REENT_ONLY - -struct tm * -_DEFUN (localtime, (tim_p), - _CONST time_t * tim_p) -{ - return localtime_r (tim_p, &(_REENT->_new._reent._localtime_buf)); -} - -#endif -- cgit v1.2.3