aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-08 11:55:32 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-08 11:55:32 -0500
commitd9a216c037590c414e4069afde01fde84794e0d6 (patch)
tree0c4cbf65be6c1a788741977cbd383def08406a78 /sysdeps
parent15cfed3f93f60e79508043047065f189754f8e35 (diff)
downloadglibc-d9a216c037590c414e4069afde01fde84794e0d6.tar
glibc-d9a216c037590c414e4069afde01fde84794e0d6.tar.gz
glibc-d9a216c037590c414e4069afde01fde84794e0d6.tar.bz2
glibc-d9a216c037590c414e4069afde01fde84794e0d6.zip
Add checking versions of poll and ppoll
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/ppoll.c3
-rw-r--r--sysdeps/unix/sysv/linux/ppoll.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/ppoll.c b/sysdeps/mach/hurd/ppoll.c
index 693bc13839..f8db6f0ef9 100644
--- a/sysdeps/mach/hurd/ppoll.c
+++ b/sysdeps/mach/hurd/ppoll.c
@@ -1,5 +1,5 @@
/* poll file descriptors. Hurd version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006, 2012 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
@@ -28,3 +28,4 @@ ppoll (struct pollfd *fds, nfds_t nfds,
{
return _hurd_select (nfds, fds, NULL, NULL, NULL, timeout, sigmask);
}
+libc_hidden_def (ppoll)
diff --git a/sysdeps/unix/sysv/linux/ppoll.c b/sysdeps/unix/sysv/linux/ppoll.c
index 14eb3111b9..b331b3a774 100644
--- a/sysdeps/unix/sysv/linux/ppoll.c
+++ b/sysdeps/unix/sysv/linux/ppoll.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 2006, 2007, 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2006.
@@ -67,6 +67,7 @@ ppoll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout,
return result;
}
+libc_hidden_def (ppoll)
# ifndef __ASSUME_PPOLL
# define ppoll static __generic_ppoll