File:
[DVB] /
dietlibc /
lib /
__stime.c
Revision
1.2:
download - view:
text,
annotated -
select for diffs
Mon Nov 18 01:16:51 2002 UTC (21 years, 6 months ago) by
fefe
Branches:
MAIN
CVS tags:
finnland_test_200301,
branch_rc14_fieldtest_finnland,
branch_rc13_fieldtest_finnland,
branch_rc12_fieldtest_finnland,
branch_rc10_fieldtest_finnland,
RELEASE_finnland_200301_1,
RC12_FIELDTEST_FINNLAND,
RC10_FIELDTEST_FINNLAND,
HEAD
remove a few more warnings
#include <errno.h>
#include <sys/time.h>
#include <time.h>
#include <syscalls.h>
#ifndef __NR_stime
int stime(time_t *when)
{
struct timeval tv;
tv.tv_sec = *when;
tv.tv_usec = 0;
return settimeofday(&tv, (struct timezone *)0);
}
#endif
LinuxTV legacy CVS <linuxtv.org/cvs>