X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Ftime%2Flocaltime.c;fp=functions%2Ftime%2Flocaltime.c;h=6fda174b83256c6dbc3ad0d90c9cae39017fe9e5;hb=18dee35aba1ae0fcdecb0cd11d4f3c1a0d94b51e;hp=0000000000000000000000000000000000000000;hpb=2b10f10cde517fede45e620a0c3a7948d90afd7b;p=pdclib diff --git a/functions/time/localtime.c b/functions/time/localtime.c new file mode 100644 index 0000000..6fda174 --- /dev/null +++ b/functions/time/localtime.c @@ -0,0 +1,27 @@ +/* localtime( const time_t * ) + + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + +#include + +#ifndef REGTEST + +struct tm * localtime( const time_t * timer ) +{ + return NULL; +} + +#endif + +#ifdef TEST + +#include "_PDCLIB_test.h" + +int main( void ) +{ + return NO_TESTDRIVER; +} + +#endif