openwrtv3/toolchain/uClibc/patches-0.9.32/120-adjtimex.patch

15 lines
291 B
Diff
Raw Normal View History

--- a/include/sys/timex.h
+++ b/include/sys/timex.h
@@ -116,9 +116,8 @@
__BEGIN_DECLS
-#if 0
-extern int __adjtimex (struct timex *__ntx) __THROW;
-#endif
+#undef __adjtimex
+#define __adjtimex adjtimex
extern int adjtimex (struct timex *__ntx) __THROW;
libc_hidden_proto(adjtimex)