Make gettimeofday() POSIX-compliant.

This commit is contained in:
Ralf Corsepius
2007-12-21 05:10:31 +00:00
parent fbb5097c1b
commit b98648062f

View File

@@ -35,9 +35,10 @@
int gettimeofday(
struct timeval *tp,
struct timezone *tzp
void * __tz
)
{
/* struct timezone* tzp = (struct timezone*) __tz; */
if ( !tp ) {
errno = EFAULT;
return -1;