1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

aio: Remove internal_function function attribute

This commit is contained in:
Florian Weimer
2017-08-31 15:57:00 +02:00
parent ab5bf7cf76
commit dab0eecef6
7 changed files with 24 additions and 24 deletions

View File

@ -1,3 +1,17 @@
2017-08-31 Florian Weimer <fweimer@redhat.com>
* rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
* sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
* sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
(__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
Likewise.
* sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
(__aio_find_req, __aio_find_req_fd, __aio_free_request)
(__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
* sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
2017-08-31 Florian Weimer <fweimer@redhat.com> 2017-08-31 Florian Weimer <fweimer@redhat.com>
* misc/getttyent.c (skip, value): Remove internal_function. * misc/getttyent.c (skip, value): Remove internal_function.

View File

@ -22,7 +22,7 @@
#include <aio_misc.h> #include <aio_misc.h>
int int
attribute_hidden internal_function attribute_hidden
__aio_sigqueue (int sig, const union sigval val, pid_t caller_pid) __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid)
{ {
__set_errno (ENOSYS); __set_errno (ENOSYS);

View File

@ -40,8 +40,7 @@ typedef union
/* Send the signal. */ /* Send the signal. */
extern int __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid) extern int __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid);
internal_function;
#endif /* aio_misc.h */ #endif /* aio_misc.h */

View File

@ -159,7 +159,6 @@ get_elem (void)
void void
internal_function
__aio_free_request (struct requestlist *elem) __aio_free_request (struct requestlist *elem)
{ {
elem->running = no; elem->running = no;
@ -169,7 +168,6 @@ __aio_free_request (struct requestlist *elem)
struct requestlist * struct requestlist *
internal_function
__aio_find_req (aiocb_union *elem) __aio_find_req (aiocb_union *elem)
{ {
struct requestlist *runp = requests; struct requestlist *runp = requests;
@ -192,7 +190,6 @@ __aio_find_req (aiocb_union *elem)
struct requestlist * struct requestlist *
internal_function
__aio_find_req_fd (int fildes) __aio_find_req_fd (int fildes)
{ {
struct requestlist *runp = requests; struct requestlist *runp = requests;
@ -206,7 +203,6 @@ __aio_find_req_fd (int fildes)
void void
internal_function
__aio_remove_request (struct requestlist *last, struct requestlist *req, __aio_remove_request (struct requestlist *last, struct requestlist *req,
int all) int all)
{ {
@ -299,7 +295,6 @@ weak_alias (__aio_init, aio_init)
/* The main function of the async I/O handling. It enqueues requests /* The main function of the async I/O handling. It enqueues requests
and if necessary starts and handles threads. */ and if necessary starts and handles threads. */
struct requestlist * struct requestlist *
internal_function
__aio_enqueue_request (aiocb_union *aiocbp, int operation) __aio_enqueue_request (aiocb_union *aiocbp, int operation)
{ {
int result = 0; int result = 0;

View File

@ -93,35 +93,30 @@ extern pthread_mutex_t __aio_requests_mutex attribute_hidden;
/* Enqueue request. */ /* Enqueue request. */
extern struct requestlist *__aio_enqueue_request (aiocb_union *aiocbp, extern struct requestlist *__aio_enqueue_request (aiocb_union *aiocbp,
int operation) int operation)
attribute_hidden internal_function; attribute_hidden;
/* Find request entry for given AIO control block. */ /* Find request entry for given AIO control block. */
extern struct requestlist *__aio_find_req (aiocb_union *elem) extern struct requestlist *__aio_find_req (aiocb_union *elem) attribute_hidden;
attribute_hidden internal_function;
/* Find request entry for given file descriptor. */ /* Find request entry for given file descriptor. */
extern struct requestlist *__aio_find_req_fd (int fildes) extern struct requestlist *__aio_find_req_fd (int fildes) attribute_hidden;
attribute_hidden internal_function;
/* Remove request from the list. */ /* Remove request from the list. */
extern void __aio_remove_request (struct requestlist *last, extern void __aio_remove_request (struct requestlist *last,
struct requestlist *req, int all) struct requestlist *req, int all)
attribute_hidden internal_function; attribute_hidden;
/* Release the entry for the request. */ /* Release the entry for the request. */
extern void __aio_free_request (struct requestlist *req) extern void __aio_free_request (struct requestlist *req) attribute_hidden;
attribute_hidden internal_function;
/* Notify initiator of request and tell this everybody listening. */ /* Notify initiator of request and tell this everybody listening. */
extern void __aio_notify (struct requestlist *req) extern void __aio_notify (struct requestlist *req) attribute_hidden;
attribute_hidden internal_function;
/* Notify initiator of request. */ /* Notify initiator of request. */
extern int __aio_notify_only (struct sigevent *sigev) extern int __aio_notify_only (struct sigevent *sigev) attribute_hidden;
attribute_hidden internal_function;
/* Send the signal. */ /* Send the signal. */
extern int __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid) extern int __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid)
attribute_hidden internal_function; attribute_hidden;
#endif /* aio_misc.h */ #endif /* aio_misc.h */

View File

@ -48,7 +48,6 @@ notify_func_wrapper (void *arg)
int int
internal_function
__aio_notify_only (struct sigevent *sigev) __aio_notify_only (struct sigevent *sigev)
{ {
int result = 0; int result = 0;
@ -109,7 +108,6 @@ __aio_notify_only (struct sigevent *sigev)
void void
internal_function
__aio_notify (struct requestlist *req) __aio_notify (struct requestlist *req)
{ {
struct waitlist *waitlist; struct waitlist *waitlist;

View File

@ -30,7 +30,6 @@
/* Return any pending signal or wait for one for the given time. */ /* Return any pending signal or wait for one for the given time. */
int int
internal_function
__aio_sigqueue (int sig, const union sigval val, pid_t caller_pid) __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid)
{ {
siginfo_t info; siginfo_t info;