openwrt-owl/toolchain/uClibc/patches-0.9.33.2/120-adjtimex.patch

15 lines
304 B
Diff
Raw Normal View History

2012-02-08 15:45:44 +00:00
--- a/include/sys/timex.h
+++ b/include/sys/timex.h
@@ -116,9 +116,8 @@ struct timex
__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)