summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/gethostbydns.c
diff options
context:
space:
mode:
authorChristian Mauderer <Christian.Mauderer@embedded-brains.de>2016-05-02 14:49:32 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-28 13:01:38 +0200
commit232d6fecb6c699298e21929d3edbf9e8328501d9 (patch)
tree52667d63e33bde26087461a176a476b089edd0c0 /cpukit/libnetworking/libc/gethostbydns.c
parentlibnetworking: Add <rtems/rtems_netdb.h> (diff)
downloadrtems-232d6fecb6c699298e21929d3edbf9e8328501d9.tar.bz2
libnetworking: Import current <netdb.h>
Import the <netdb.h> from current FreeBSD. This allows to build some current software (e.g. libressl). Add __h_errno(). Update gethostent_r() API. Linux and FreeBSD use a common API now. Adapt the RTEMS one to provide the same one. Match gethostbyname_r() with prototype.
Diffstat (limited to 'cpukit/libnetworking/libc/gethostbydns.c')
-rw-r--r--cpukit/libnetworking/libc/gethostbydns.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cpukit/libnetworking/libc/gethostbydns.c b/cpukit/libnetworking/libc/gethostbydns.c
index ba7291f433..7300ef4564 100644
--- a/cpukit/libnetworking/libc/gethostbydns.c
+++ b/cpukit/libnetworking/libc/gethostbydns.c
@@ -118,7 +118,6 @@ typedef union {
char ac;
} align;
-extern int h_errno;
int _dns_ttl_;
#ifdef DEBUG