summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-22 20:43:35 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-22 20:43:35 +0000
commitd126b4a3fbf7e423206712145b4a4efdc0c5b1c1 (patch)
treec5ee35edf79da686621f240ef7451620dc63b04e /libc/sysdeps/linux
parent89663ff0fa2abe08f9594b372ea5f9f298bf98e7 (diff)
Mark SVID functions
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/stime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/stime.c b/libc/sysdeps/linux/common/stime.c
index 9f9615d3e..387122ff3 100644
--- a/libc/sysdeps/linux/common/stime.c
+++ b/libc/sysdeps/linux/common/stime.c
@@ -10,6 +10,8 @@
#include "syscalls.h"
#include <time.h>
#include <sys/time.h>
+
+#ifdef __USE_SVID
#ifdef __NR_stime
_syscall1(int, stime, const time_t *, t);
#else
@@ -28,3 +30,4 @@ int stime(const time_t * when)
return settimeofday(&tv, (struct timezone *) 0);
}
#endif
+#endif