openwrtv3/toolchain/uClibc/patches-0.9.33.2/120-adjtimex.patch
Felix Fietkau 3ea4b6ba91 uClibc: update to 0.9.33.2, fixes #4420
SVN-Revision: 31740
2012-05-15 13:42:32 +00:00

14 lines
304 B
Diff

--- 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)