This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[linux-generic] remove now-unnecessary libc_hidden_proto()


This change matches the one that Roland merged to the glibc core.
It's no longer necessary for the asm-generic version of epoll_wait.c
to provide its own libc_hidden_proto.  I'll push it up unless I
hear any objections.

 ChangeLog.linux-generic                      |    5 +++++
 sysdeps/unix/sysv/linux/generic/epoll_wait.c |    4 +---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ChangeLog.linux-generic b/ChangeLog.linux-generic
index 4a0b908..83a2db1 100644
--- a/ChangeLog.linux-generic
+++ b/ChangeLog.linux-generic
@@ -1,3 +1,8 @@
+2012-01-30  Chris Metcalf  <cmetcalf@tilera.com>
+
+	* sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove
+	libc_hidden_proto declaration now it's in sys/epoll.h override.
+
 2011-12-09  Chris Metcalf  <cmetcalf@tilera.com>
 
 	* sysdeps/unix/sysv/linux/generic/bits/msq.h: New file.
diff --git a/sysdeps/unix/sysv/linux/generic/epoll_wait.c b/sysdeps/unix/sysv/linux/generic/epoll_wait.c
index eda64bc..0fa06e8 100644
--- a/sysdeps/unix/sysv/linux/generic/epoll_wait.c
+++ b/sysdeps/unix/sysv/linux/generic/epoll_wait.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2011, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011.
 
@@ -22,8 +22,6 @@
 #include <sys/types.h>
 #include <sys/epoll.h>
 
-libc_hidden_proto (epoll_pwait)
-
 int
 epoll_wait (int epfd, struct epoll_event *events, int maxevents, int timeout)
 {
-- 
1.6.5.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]