Merge "Add support for protected local symbol lookup."
diff --git a/libc/bionic/if_indextoname.c b/libc/bionic/if_indextoname.c
index dc08b28..f0db512 100644
--- a/libc/bionic/if_indextoname.c
+++ b/libc/bionic/if_indextoname.c
@@ -41,7 +41,6 @@
char*
if_indextoname(unsigned ifindex, char *ifname)
{
- int index;
int ctl_sock;
struct ifreq ifr;
char* ret = NULL;
diff --git a/libc/bionic/time64.c b/libc/bionic/time64.c
index 7163b34..62ee903 100644
--- a/libc/bionic/time64.c
+++ b/libc/bionic/time64.c
@@ -252,6 +252,7 @@
}
+#if !defined(NDEBUG)
static int check_tm(struct TM *tm)
{
/* Don't forget leap seconds */
@@ -283,6 +284,7 @@
return 1;
}
+#endif
/* The exceptional centuries without leap years cause the cycle to