From 1b11d19b60208e1dc932244aba6756eafa1e67ce Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 16 Apr 2011 11:55:10 +0200 Subject: provide stime and settimeofday functions if at least one of the syscalls is available Add hidden stime for possible use in settimeofday. Add stubs for both functions if none of the syscalls is present. Avoid circular dependency. Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- include/time.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/time.h') diff --git a/include/time.h b/include/time.h index bea562399..50a412de0 100644 --- a/include/time.h +++ b/include/time.h @@ -318,6 +318,7 @@ extern long int timezone; /* Set the system time to *WHEN. This call is restricted to the superuser. */ extern int stime (__const time_t *__when) __THROW; +libc_hidden_proto(stime) # endif -- cgit v1.2.3