summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
authorNiko Catania <niko@google.com>2010-02-12 13:46:31 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-02-12 13:46:31 -0800
commitf31fceaae66dcc1f71f930ed8f2a777b80fe415f (patch)
tree1e57e65461a35fe2ed96dc6a434666c37c936aff /libc
parent4f920f685bb4af8400c70383eecf347a35353778 (diff)
parent2e1a03c16fae7bfd5f5e6955985bc46baf93ba84 (diff)
downloadbionic-f31fceaae66dcc1f71f930ed8f2a777b80fe415f.zip
bionic-f31fceaae66dcc1f71f930ed8f2a777b80fe415f.tar.gz
bionic-f31fceaae66dcc1f71f930ed8f2a777b80fe415f.tar.bz2
Merge "Changed __get_h_errno linkage to "C"."
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);