diff options
author | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2016-05-02 14:49:32 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-28 13:01:38 +0200 |
commit | 232d6fecb6c699298e21929d3edbf9e8328501d9 (patch) | |
tree | 52667d63e33bde26087461a176a476b089edd0c0 /cpukit/libnetworking/libc/gethostbydns.c | |
parent | libnetworking: Add <rtems/rtems_netdb.h> (diff) | |
download | rtems-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.c | 1 |
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 |