X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=opt%2Fnotime%2Ftime.c;h=6a4743a48e35360d03e3db5a9fd3493b217c4f24;hp=8826ee9c3158b466d1919dc293ad74b360c7c1ae;hb=00da512946a32e38f815ca3b2a3b6111e4678fe1;hpb=847a34bc4d47592ba53cf0b5b860598a88bc8eca diff --git a/opt/notime/time.c b/opt/notime/time.c index 8826ee9..6a4743a 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>