aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog6
-rw-r--r--inet/gethstbynm2_r.c4
-rw-r--r--sysdeps/unix/sysv/linux/sys/reboot.h4
3 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 32b645b54e..8d9286dec8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
1999-09-11 Paul Eggert <eggert@twinsun.com>
* posix/glob.h (glob): If #defining to glob64, do this before
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
diff --git a/sysdeps/unix/sysv/linux/sys/reboot.h b/sysdeps/unix/sysv/linux/sys/reboot.h
index dd7a71b4c6..a16a080ddf 100644
--- a/sysdeps/unix/sysv/linux/sys/reboot.h
+++ b/sysdeps/unix/sysv/linux/sys/reboot.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -42,7 +42,7 @@
__BEGIN_DECLS
/* Reboot or halt the system. */
-extern int reboot __P ((int __howto));
+extern int reboot (int __howto) __THROW;
__END_DECLS