summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/stime.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 03:20:04 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 03:20:04 +0000
commitabc6ee9f4d28debe15fa5e56a1618b214b2888a0 (patch)
tree9a73eb2f19f9678152ae1d51cf40af9f7ea53a71 /libc/sysdeps/linux/common/stime.c
parentd810a51e01f28359d6ce85f44ab72c91f2dc30db (diff)
another from SpanKY
Diffstat (limited to 'libc/sysdeps/linux/common/stime.c')
-rw-r--r--libc/sysdeps/linux/common/stime.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/stime.c b/libc/sysdeps/linux/common/stime.c
index bfb7682d0..9f9615d3e 100644
--- a/libc/sysdeps/linux/common/stime.c
+++ b/libc/sysdeps/linux/common/stime.c
@@ -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;