aboutsummaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-01 07:13:56 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-01 07:13:56 +0000
commit2d52e869464b0df6b309d6570efeb8886191d7ac (patch)
treea835b86eb82dc37a044a47659815d051c92fbc52 /inet
parentea1bfb072cb7480fb47c1b7b72f08eb1ec1171ee (diff)
downloadglibc-2d52e869464b0df6b309d6570efeb8886191d7ac.tar
glibc-2d52e869464b0df6b309d6570efeb8886191d7ac.tar.gz
glibc-2d52e869464b0df6b309d6570efeb8886191d7ac.tar.bz2
glibc-2d52e869464b0df6b309d6570efeb8886191d7ac.zip
Update.
1999-11-01 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility. * inet/gethstbynm2_r.c: Reorder addresses.
Diffstat (limited to 'inet')
-rw-r--r--inet/gethstbynm2_r.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/inet/gethstbynm2_r.c b/inet/gethstbynm2_r.c
index f4a1357169..0b77b22a3d 100644
--- a/inet/gethstbynm2_r.c
+++ b/inet/gethstbynm2_r.c
@@ -31,6 +31,10 @@
#define ADD_PARAMS const char *name, int af
#define ADD_VARIABLES name, af
#define NEED_H_ERRNO 1
+#define NEED__RES_HCONF 1
+#define POSTPROCESS \
+ if (status == NSS_STATUS_SUCCESS) \
+ _res_hconf_reorder_addrs (resbuf);
#define HANDLE_DIGITS_DOTS 1
#define HAVE_LOOKUP_BUFFER 1