X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnotime%2Ftime.c;h=3933af61a89ad10647f265087b7334aead107e4c;hb=3a2027b97e7a6c7ecb9fcd4c24b4c74459faddbc;hp=8826ee9c3158b466d1919dc293ad74b360c7c1ae;hpb=bb22ff7ecd9fe8f4641484df12ad629cd8ee27ac;p=pdclib.old diff --git a/opt/notime/time.c b/opt/notime/time.c index 8826ee9..3933af6 100644 --- a/opt/notime/time.c +++ b/opt/notime/time.c @@ -1,10 +1,12 @@ #include +#ifndef REGTEST time_t time(time_t* t) { if(t) *t = -1; return -1; } +#endif #ifdef TEST #include <_PDCLIB_test.h> @@ -14,4 +16,4 @@ int main( void ) return TEST_RESULTS; } -#endif \ No newline at end of file +#endif