]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(struct aiocb64): Add member __next_prio to sync the struct with aiocb.
authorUlrich Drepper <drepper@redhat.com>
Sat, 18 Dec 1999 22:56:24 +0000 (22:56 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 18 Dec 1999 22:56:24 +0000 (22:56 +0000)
rt/aio.h

index cbfbe66b24c908ad9ffe576b259b3e46387de543..b0d53efe0fc2a2a7da5998a7f44f244e56bfa45d 100644 (file)
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -57,7 +57,8 @@ struct aiocb
   char __unused[32];
 };
 
-/* The same for the 64bit offsets.  */
+/* The same for the 64bit offsets.  Please note that the members aio_fildes
+   to __return_value have to be the same in aiocb and aiocb64.  */
 #ifdef __USE_LARGEFILE64
 struct aiocb64
 {
@@ -69,6 +70,7 @@ struct aiocb64
   struct sigevent aio_sigevent;        /* Signal number and value.  */
 
   /* Internal members.  */
+  struct aiocb *__next_prio;
   int __abs_prio;
   int __policy;
   int __error_code;
@@ -172,7 +174,7 @@ extern int __REDIRECT (aio_write, __P ((struct aiocb *__aiocbp)), aio_write64);
 
 extern int __REDIRECT (lio_listio,
                       __P ((int __mode,
-                            struct aiocb *__const __restrict __list[],
+                            struct aiocb *__const __list[],
                             int __nent, struct sigevent *__restrict __sig)),
                       lio_listio64);
 
@@ -186,13 +188,13 @@ extern int __REDIRECT (aio_cancel, __P ((int __fildes,
                       aio_cancel64);
 
 extern int __REDIRECT (aio_suspend,
-                      __P ((__const struct aiocb *__const __restrict __list[],
+                      __P ((__const struct aiocb *__const __list[],
                             int __nent,
                             __const struct timespec *__restrict __timeout)),
                       aio_suspend64);
 
-extern int __REDIRECT (aio_fsync __P ((int __operation,
-                                      struct aiocb *__aiocbp)),
+extern int __REDIRECT (aio_fsync, __P ((int __operation,
+                                       struct aiocb *__aiocbp)),
                       aio_fsync64);
 
 # else