summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/resolv.h
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/resolv.h
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/resolv.h')
-rw-r--r--cpukit/libnetworking/resolv.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/cpukit/libnetworking/resolv.h b/cpukit/libnetworking/resolv.h
index 6c87a005e3..06d3a55a16 100644
--- a/cpukit/libnetworking/resolv.h
+++ b/cpukit/libnetworking/resolv.h
@@ -69,15 +69,6 @@
#define __RES 19960801
/*%
- * This used to be defined in res_query.c, now it's in herror.c. It was
- * never extern'd by any *.h file before it was placed here. herror.c is
- * part of libresolv.a even though it might make more sense in libnetdb.a
- * or even libnet.a.
- */
-
-extern int h_errno;
-
-/*%
* Resolver configuration file.
* Normally not present, but may contain the address of the
* initial name server(s) to query and the domain search list.