OSDN Git Service

Remove obsolete #include and comment.
authorElliott Hughes <enh@google.com>
Sat, 3 Dec 2016 01:43:34 +0000 (17:43 -0800)
committerElliott Hughes <enh@google.com>
Sat, 3 Dec 2016 01:51:56 +0000 (17:51 -0800)
Bug: http://b/33308258
Test: builds
Change-Id: Id6bbdae536a12134899fa57ea799f488d018db00

libc/dns/net/getaddrinfo.c
libc/dns/net/getnameinfo.c
libc/dns/resolv/res_cache.c
libc/dns/resolv/res_init.c

index c6f0d24..6c26cd3 100644 (file)
 #include <stdarg.h>
 #include "nsswitch.h"
 
-#if defined(__BIONIC__)
-#include <sys/system_properties.h>
-#endif
-
 typedef union sockaddr_union {
     struct sockaddr     generic;
     struct sockaddr_in  in;
index 63a347e..236e7f2 100644 (file)
@@ -62,7 +62,6 @@ __RCSID("$NetBSD: getnameinfo.c,v 1.53 2012/09/26 23:13:00 christos Exp $");
 #include <arpa/nameser.h>
 #include "resolv_netid.h"
 #include "resolv_private.h"
-#include <sys/system_properties.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <errno.h>
index ad2c5c0..f4cc6b9 100644 (file)
@@ -38,7 +38,6 @@
 
 #include <errno.h>
 #include <arpa/nameser.h>
-#include <sys/system_properties.h>
 #include <net/if.h>
 #include <netdb.h>
 #include <linux/if.h>
  * *****************************************
  */
 #define  CONFIG_MAX_ENTRIES    64 * 2 * 5
-/* name of the system property that can be used to set the cache size */
 
 /****************************************************************************/
 /****************************************************************************/
@@ -2286,4 +2284,3 @@ _resolv_cache_add_resolver_stats_sample( unsigned netid, int revision_id, int ns
 
     pthread_mutex_unlock(&_res_cache_list_lock);
 }
-
index a5413dd..b9fc131 100644 (file)
@@ -101,7 +101,6 @@ __RCSID("$NetBSD: res_init.c,v 1.8 2006/03/19 03:10:08 christos Exp $");
 #ifdef ANDROID_CHANGES
 #include <errno.h>
 #include <fcntl.h>
-#include <sys/system_properties.h>
 #endif /* ANDROID_CHANGES */
 
 /* ensure that sockaddr_in6 and IN6ADDR_ANY_INIT are declared / defined */