toolchain/uClibc: backport madvise and fallocate (fixes #19336)
[openwrt/staging/yousong.git] / toolchain / uClibc / patches-0.9.33.2 / 135-inet_fix_threaded_use_of_res_functions.patch
index 4c23141ea3eb41b1999176d80391d06580f9693e..6732d54d3e479b27a0820b23ccd4780ceddc8f67 100644 (file)
@@ -1,6 +1,6 @@
 --- a/libc/inet/resolv.c
 +++ b/libc/inet/resolv.c
-@@ -3536,6 +3536,61 @@
+@@ -3536,6 +3536,61 @@ __res_vinit(res_state rp, int preinit)
        return 0;
  }
  
@@ -62,7 +62,7 @@
  static void
  __res_iclose(void)
  {
-@@ -3608,61 +3663,6 @@
+@@ -3608,61 +3663,6 @@ struct __res_state *__resp = &_res;
  # endif
  #endif /* !__UCLIBC_HAS_THREADS__ */