|
@@ -2,19 +2,19 @@
|
|
|
|
|
|
* stime() for uClibc
|
|
|
*
|
|
|
- * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>
|
|
|
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
|
|
|
*
|
|
|
- * GNU Library General Public License (LGPL) version 2 or later.
|
|
|
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
|
|
|
*/
|
|
|
|
|
|
-#define settimeofday __settimeofday
|
|
|
-
|
|
|
#include "syscalls.h"
|
|
|
#include <time.h>
|
|
|
#include <sys/time.h>
|
|
|
#ifdef __NR_stime
|
|
|
_syscall1(int, stime, const time_t *, t);
|
|
|
#else
|
|
|
+libc_hidden_proto(settimeofday)
|
|
|
+
|
|
|
int stime(const time_t * when)
|
|
|
{
|
|
|
struct timeval tv;
|