summaryrefslogtreecommitdiff
path: root/sysdeps/pthread/aio_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/pthread/aio_misc.c')
-rw-r--r--sysdeps/pthread/aio_misc.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sysdeps/pthread/aio_misc.c b/sysdeps/pthread/aio_misc.c
index f55570d23b..fb13d6210b 100644
--- a/sysdeps/pthread/aio_misc.c
+++ b/sysdeps/pthread/aio_misc.c
@@ -1,5 +1,5 @@
/* Handle general operations.
- Copyright (C) 1997-2016 Free Software Foundation, Inc.
+ Copyright (C) 1997-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -159,7 +159,6 @@ get_elem (void)
void
-internal_function
__aio_free_request (struct requestlist *elem)
{
elem->running = no;
@@ -169,7 +168,6 @@ __aio_free_request (struct requestlist *elem)
struct requestlist *
-internal_function
__aio_find_req (aiocb_union *elem)
{
struct requestlist *runp = requests;
@@ -192,7 +190,6 @@ __aio_find_req (aiocb_union *elem)
struct requestlist *
-internal_function
__aio_find_req_fd (int fildes)
{
struct requestlist *runp = requests;
@@ -206,7 +203,6 @@ __aio_find_req_fd (int fildes)
void
-internal_function
__aio_remove_request (struct requestlist *last, struct requestlist *req,
int all)
{
@@ -299,7 +295,6 @@ weak_alias (__aio_init, aio_init)
/* The main function of the async I/O handling. It enqueues requests
and if necessary starts and handles threads. */
struct requestlist *
-internal_function
__aio_enqueue_request (aiocb_union *aiocbp, int operation)
{
int result = 0;
@@ -350,10 +345,6 @@ __aio_enqueue_request (aiocb_union *aiocbp, int operation)
return NULL;
}
newp->aiocbp = aiocbp;
-#ifdef BROKEN_THREAD_SIGNALS
- newp->caller_pid = (aiocbp->aiocb.aio_sigevent.sigev_notify == SIGEV_SIGNAL
- ? getpid () : 0);
-#endif
newp->waiting = NULL;
aiocbp->aiocb.__abs_prio = prio;