Elliott Hughes 9cddb482b4 Revert "Revert "Implement getifaddrs(3)/freeifaddrs(3).""
This reverts commit 76814a8250fd5e1502909ef5e10e4d166cc96c0e.

This differs from the original in fixing the GCC -Werror build:

  bionic/libc/bionic/ifaddrs.cpp: In function 'void __handle_netlink_response(ifaddrs**, nlmsghdr*)':
  bionic/libc/bionic/ifaddrs.cpp:113:62: error: use of old-style cast [-Werror=old-style-cast]
       ifinfomsg* ifi = reinterpret_cast<ifinfomsg*>(NLMSG_DATA(hdr));

This appears to be a GCC bug; the GCC command-line correctly uses -isystem,
and manually adding #pragma GCC system_header doesn't help. So just turn the
warning off for GCC for now. We won't need to worry about building with GCC
soon anyway.

Bug: http://b/26238832
Change-Id: I01615bd335edf11baf487b1c83a9157cd780f4a1
2016-01-04 13:00:39 -08:00
..
2015-11-23 16:13:10 -08:00
2015-02-14 00:56:46 +08:00
2015-11-15 12:09:16 -08:00
2015-10-09 17:36:05 -07:00
2013-12-03 18:42:41 -08:00
2014-11-06 11:16:55 -08:00
2015-12-16 15:24:13 -08:00
2015-01-26 11:57:11 -08:00
2014-09-11 08:45:46 -07:00
2013-02-01 14:51:19 -08:00
2015-11-09 16:04:50 -08:00
2015-02-14 00:56:46 +08:00
2015-02-14 00:56:46 +08:00
2014-12-03 15:55:34 -08:00
2014-04-10 20:44:27 -07:00
2014-02-21 16:27:21 +00:00
2014-11-06 14:14:37 -08:00
2015-11-19 13:44:20 -08:00
2015-06-15 18:39:02 -07:00
2015-10-28 20:04:59 -07:00
2014-01-03 14:49:37 -08:00
2015-08-26 14:48:55 -07:00
2015-11-12 16:51:31 -08:00
2015-10-26 19:29:12 -07:00