about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-03-16 13:57:57 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-03-16 13:57:57 +0100
commit35fbb341f8217222bdd33fcec79f62f5b4560d80 (patch)
tree2f8fd41814abe3c2a05c63a67b181c7d75623034
parentb4f518ecfad09fc4279ea26a565332835e403dab (diff)
downloadglibc-35fbb341f8217222bdd33fcec79f62f5b4560d80.tar.gz
glibc-35fbb341f8217222bdd33fcec79f62f5b4560d80.tar.xz
glibc-35fbb341f8217222bdd33fcec79f62f5b4560d80.zip
Fix hurd build
	* sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
	* resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
	qualifier.
	* /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
	internal_function qualifiers.
-rw-r--r--ChangeLog8
-rw-r--r--resolv/gai_sigqueue.c1
-rw-r--r--rt/aio_sigqueue.c1
-rw-r--r--sysdeps/mach/hurd/openat.c2
4 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 071a666a89..adf1752bf7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
+	* resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
+	qualifier.
+	* /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
+	internal_function qualifiers.
+
 2016-03-15  Carlos O'Donell <carlos@redhat.com>
 
 	* catgets/tst-catgets.c (do_bz17905): Mark result unused.
diff --git a/resolv/gai_sigqueue.c b/resolv/gai_sigqueue.c
index 4b0c08f6e5..40d2a68963 100644
--- a/resolv/gai_sigqueue.c
+++ b/resolv/gai_sigqueue.c
@@ -22,6 +22,7 @@
 #include <gai_misc.h>
 
 int
+internal_function
 __gai_sigqueue (int sig, const union sigval val, pid_t caller_pid)
 {
   __set_errno (ENOSYS);
diff --git a/rt/aio_sigqueue.c b/rt/aio_sigqueue.c
index 0297eca0d7..33bb61b957 100644
--- a/rt/aio_sigqueue.c
+++ b/rt/aio_sigqueue.c
@@ -22,6 +22,7 @@
 #include <aio_misc.h>
 
 int
+attribute_hidden internal_function
 __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid)
 {
   __set_errno (ENOSYS);
diff --git a/sysdeps/mach/hurd/openat.c b/sysdeps/mach/hurd/openat.c
index 974ff3fa15..4bb6ae421a 100644
--- a/sysdeps/mach/hurd/openat.c
+++ b/sysdeps/mach/hurd/openat.c
@@ -29,7 +29,7 @@
    the directory associated with FD.  If O_CREAT or O_TMPFILE is in OFLAG, a
    third argument is the file protection.  */
 int
-__openat (int fd, const char *file, int oflag)
+__openat (int fd, const char *file, int oflag, ...)
 {
   mode_t mode;
   io_t port;