diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-08-31 15:57:00 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-08-31 15:59:06 +0200 |
commit | dab0eecef632487f01460900ede02874092c9169 (patch) | |
tree | b13cbfdf9070bef87e686629bf4fae108cea4c26 /sysdeps/pthread | |
parent | ab5bf7cf7628dda64701e47b149575f0f7c896bf (diff) | |
download | glibc-dab0eecef632487f01460900ede02874092c9169.zip glibc-dab0eecef632487f01460900ede02874092c9169.tar.gz glibc-dab0eecef632487f01460900ede02874092c9169.tar.bz2 |
aio: Remove internal_function function attribute
Diffstat (limited to 'sysdeps/pthread')
-rw-r--r-- | sysdeps/pthread/aio_misc.c | 5 | ||||
-rw-r--r-- | sysdeps/pthread/aio_misc.h | 21 | ||||
-rw-r--r-- | sysdeps/pthread/aio_notify.c | 2 |
3 files changed, 8 insertions, 20 deletions
diff --git a/sysdeps/pthread/aio_misc.c b/sysdeps/pthread/aio_misc.c index 511a097..b99da53 100644 --- a/sysdeps/pthread/aio_misc.c +++ b/sysdeps/pthread/aio_misc.c @@ -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; diff --git a/sysdeps/pthread/aio_misc.h b/sysdeps/pthread/aio_misc.h index 6e9e06f..4dca712 100644 --- a/sysdeps/pthread/aio_misc.h +++ b/sysdeps/pthread/aio_misc.h @@ -93,35 +93,30 @@ extern pthread_mutex_t __aio_requests_mutex attribute_hidden; /* Enqueue request. */ extern struct requestlist *__aio_enqueue_request (aiocb_union *aiocbp, int operation) - attribute_hidden internal_function; + attribute_hidden; /* Find request entry for given AIO control block. */ -extern struct requestlist *__aio_find_req (aiocb_union *elem) - attribute_hidden internal_function; +extern struct requestlist *__aio_find_req (aiocb_union *elem) attribute_hidden; /* Find request entry for given file descriptor. */ -extern struct requestlist *__aio_find_req_fd (int fildes) - attribute_hidden internal_function; +extern struct requestlist *__aio_find_req_fd (int fildes) attribute_hidden; /* Remove request from the list. */ extern void __aio_remove_request (struct requestlist *last, struct requestlist *req, int all) - attribute_hidden internal_function; + attribute_hidden; /* Release the entry for the request. */ -extern void __aio_free_request (struct requestlist *req) - attribute_hidden internal_function; +extern void __aio_free_request (struct requestlist *req) attribute_hidden; /* Notify initiator of request and tell this everybody listening. */ -extern void __aio_notify (struct requestlist *req) - attribute_hidden internal_function; +extern void __aio_notify (struct requestlist *req) attribute_hidden; /* Notify initiator of request. */ -extern int __aio_notify_only (struct sigevent *sigev) - attribute_hidden internal_function; +extern int __aio_notify_only (struct sigevent *sigev) attribute_hidden; /* Send the signal. */ extern int __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid) - attribute_hidden internal_function; + attribute_hidden; #endif /* aio_misc.h */ diff --git a/sysdeps/pthread/aio_notify.c b/sysdeps/pthread/aio_notify.c index 19a4729..725e03b 100644 --- a/sysdeps/pthread/aio_notify.c +++ b/sysdeps/pthread/aio_notify.c @@ -48,7 +48,6 @@ notify_func_wrapper (void *arg) int -internal_function __aio_notify_only (struct sigevent *sigev) { int result = 0; @@ -109,7 +108,6 @@ __aio_notify_only (struct sigevent *sigev) void -internal_function __aio_notify (struct requestlist *req) { struct waitlist *waitlist; |