diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-27 21:38:44 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-27 21:38:44 +0200 |
commit | a5352e212fcd4da83c8ff4fe542ef23c8e3187f8 (patch) | |
tree | 016dd4cf4a39ddef717a1de7f7ace0305ffa0e75 /libc/sysdeps/linux/common/clock_adjtime.c | |
parent | 91b2dfd68f5aecc290a449905aa7456f27f10326 (diff) | |
parent | c6e8f34a358f846aa15cb9f53251da3d6668abd1 (diff) |
Merge remote-tracking branch 'origin/upstream'
Diffstat (limited to 'libc/sysdeps/linux/common/clock_adjtime.c')
-rw-r--r-- | libc/sysdeps/linux/common/clock_adjtime.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/clock_adjtime.c b/libc/sysdeps/linux/common/clock_adjtime.c new file mode 100644 index 000000000..9f55d4527 --- /dev/null +++ b/libc/sysdeps/linux/common/clock_adjtime.c @@ -0,0 +1,15 @@ +/* + * clock_adjtime() for uClibc + * + * Copyright (C) 2005 by Peter Kjellerstedt <pkj@axis.com> + * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> + * + * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball. + */ + +#include <sys/syscall.h> +#include <sys/timex.h> + +#ifdef __NR_clock_adjtime +_syscall2(int, clock_adjtime, clockid_t, clock_id, struct timex*, ntx) +#endif |