Added stub for time(3).

This commit is contained in:
Jonas 'Sortie' Termansen 2012-03-04 22:26:27 +01:00
parent d3c4df72b1
commit 2b57319c1c
2 changed files with 7 additions and 0 deletions

View File

@ -32,6 +32,7 @@ __BEGIN_DECLS
@include(clock_t.h)
clock_t clock(void);
time_t time(time_t* t);
__END_DECLS

View File

@ -53,5 +53,11 @@ namespace Maxsi
tp->tv_usec = 0;
return 0;
}
extern "C" time_t time(time_t* t)
{
*t = 0;
return 0;
}
}
}