summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
authorNicolas Catania <niko@google.com>2010-02-12 11:33:53 -0800
committerNicolas Catania <niko@google.com>2010-02-12 11:37:25 -0800
commit2e1a03c16fae7bfd5f5e6955985bc46baf93ba84 (patch)
tree1d1fb60a88933d2d75d3410d8b12b95521e4f94e /libc
parent5c734644eebf8d01be1e86cbe20a111a5c5a2738 (diff)
downloadbionic-2e1a03c16fae7bfd5f5e6955985bc46baf93ba84.zip
bionic-2e1a03c16fae7bfd5f5e6955985bc46baf93ba84.tar.gz
bionic-2e1a03c16fae7bfd5f5e6955985bc46baf93ba84.tar.bz2
Changed __get_h_errno linkage to "C".
Bug:2441631
Diffstat (limited to 'libc')
-rw-r--r--libc/include/netdb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/include/netdb.h b/libc/include/netdb.h
index b0c3b72..c2e08ea 100644
--- a/libc/include/netdb.h
+++ b/libc/include/netdb.h
@@ -75,10 +75,6 @@
#define MAXHOSTNAMELEN 256
-/* BIONIC-BEGIN */
-#define h_errno (*__get_h_errno())
-extern int* __get_h_errno(void);
-/* BIONIC-END */
/*
* Structures returned by network data base library. All addresses are
@@ -203,6 +199,10 @@ struct addrinfo {
#define SCOPE_DELIMITER '%'
__BEGIN_DECLS
+/* BIONIC-BEGIN */
+#define h_errno (*__get_h_errno())
+int* __get_h_errno(void);
+/* BIONIC-END */
void endhostent(void);
void endnetent(void);
void endnetgrent(void);