From 35fbb341f8217222bdd33fcec79f62f5b4560d80 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 16 Mar 2016 13:57:57 +0100 Subject: 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. --- ChangeLog | 8 ++++++++ resolv/gai_sigqueue.c | 1 + rt/aio_sigqueue.c | 1 + sysdeps/mach/hurd/openat.c | 2 +- 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 071a666..adf1752 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2016-03-16 Samuel Thibault + + * 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 * catgets/tst-catgets.c (do_bz17905): Mark result unused. diff --git a/resolv/gai_sigqueue.c b/resolv/gai_sigqueue.c index 4b0c08f..40d2a68 100644 --- a/resolv/gai_sigqueue.c +++ b/resolv/gai_sigqueue.c @@ -22,6 +22,7 @@ #include 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 0297eca..33bb61b 100644 --- a/rt/aio_sigqueue.c +++ b/rt/aio_sigqueue.c @@ -22,6 +22,7 @@ #include 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 974ff3f..4bb6ae4 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; -- cgit v1.1