aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/aio_suspend.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/aio_suspend.c')
-rw-r--r--lib/libc/sys/aio_suspend.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libc/sys/aio_suspend.c b/lib/libc/sys/aio_suspend.c
index 020edf8a74fa..592cb5b0e1d7 100644
--- a/lib/libc/sys/aio_suspend.c
+++ b/lib/libc/sys/aio_suspend.c
@@ -1,6 +1,5 @@
/*
* Copyright (c) 2014 The FreeBSD Foundation.
- * All rights reserved.
*
* Portions of this software were developed by Konstantin Belousov
* under sponsorship from the FreeBSD Foundation.
@@ -30,9 +29,6 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
-
#include <sys/types.h>
#include <sys/aio.h>
#include "libc_private.h"
@@ -44,8 +40,5 @@ int
aio_suspend(const struct aiocb * const iocbs[], int niocb,
const struct timespec *timeout)
{
-
- return (((int (*)(const struct aiocb * const[], int,
- const struct timespec *))
- __libc_interposing[INTERPOS_aio_suspend])(iocbs, niocb, timeout));
+ return (INTERPOS_SYS(aio_suspend, iocbs, niocb, timeout));
}