]> sourceware.org Git - glibc.git/commitdiff
aio: Remove internal_function function attribute
authorFlorian Weimer <fweimer@redhat.com>
Thu, 31 Aug 2017 13:57:00 +0000 (15:57 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 31 Aug 2017 13:59:06 +0000 (15:59 +0200)
ChangeLog
rt/aio_sigqueue.c
sysdeps/generic/aio_misc.h
sysdeps/pthread/aio_misc.c
sysdeps/pthread/aio_misc.h
sysdeps/pthread/aio_notify.c
sysdeps/unix/sysv/linux/aio_sigqueue.c

index 18d91c9096e3325cdbce052aff529d2a757dd5df..4293a1b46a2f6417e43cb03a2dd505296a02f319 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * misc/getttyent.c (skip, value): Remove internal_function.
index fd8a6b2387b3a15271c546a0abf659ed64a518d8..97abc6b1ae79d15df60573c7d7d45388b403275a 100644 (file)
@@ -22,7 +22,7 @@
 #include <aio_misc.h>
 
 int
-attribute_hidden internal_function
+attribute_hidden
 __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid)
 {
   __set_errno (ENOSYS);
index a941a68aaa10873f20e417edeaf670fe7f4b5015..c0622b2ab6d6bd45af3fc72962c6f35d8b645bc1 100644 (file)
@@ -40,8 +40,7 @@ typedef union
 
 
 /* Send the signal.  */
-extern int __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid)
-     internal_function;
+extern int __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid);
 
 
 #endif /* aio_misc.h */
index 511a0977a6d460d784520f6fbf7edb4c9e22abc8..b99da5319edb2b8baa4ee3dbd0bcc53be2bf9348 100644 (file)
@@ -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;
index 6e9e06f05ae1ced6f5c0eb33a2f995ba810ad505..4dca71237e0be4b9fd05e4e26449769934d0429e 100644 (file)
@@ -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 */
index 19a472931828415ec9437d98dba572df8d78cafe..725e03ba1220aedc56d62f36142b244092d4affd 100644 (file)
@@ -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;
index 714e9659df8533eeec79301e8db02f2f7abbe441..aad39aedbc8ccd88bee77e8758d976e52cdf29f9 100644 (file)
@@ -30,7 +30,6 @@
 
 /* Return any pending signal or wait for one for the given time.  */
 int
-internal_function
 __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid)
 {
   siginfo_t info;
This page took 0.060883 seconds and 5 git commands to generate.