]> dgit.raspbian.org Git - libaio.git/commitdiff
[PATCH libaio 09/26] Remove unused vsys_def.h
authorGuillem Jover <guillem@hadrons.org>
Thu, 29 Feb 2024 23:08:18 +0000 (00:08 +0100)
committerGuillem Jover <guillem@debian.org>
Sat, 17 Oct 2026 15:57:49 +0000 (17:57 +0200)
This was an old header to handle the syscalls, which is not used anymore
since commit 34c539fcb98c4397b9f04e93f8a475a9e445cf33.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0009-Remove-unused-vsys_def.h.patch

src/Makefile
src/compat-0_1.c
src/vsys_def.h [deleted file]

index 9a1ba514ffd25f99fa06b9b8c82efaf0af0d8cec..8a9bfb46f67f2e1a77b7125e4df37ef61f2147bf 100644 (file)
@@ -39,7 +39,7 @@ libaio_srcs += compat-0_1.c
 libaio_objs := $(patsubst %.c,%.ol,$(libaio_srcs))
 libaio_sobjs := $(patsubst %.c,%.os,$(libaio_srcs))
 
-$(libaio_objs) $(libaio_sobjs): libaio.h vsys_def.h
+$(libaio_objs) $(libaio_sobjs): libaio.h
 
 %.os: %.c
        $(CC) $(MK_CPPFLAGS) $(SO_CFLAGS) -c -o $@ $<
index ac40fccdd6898db0a42d7606a1e7ba0fbda18fdb..459586c29244d5c5acc74497fdff7b632dc4be7a 100644 (file)
@@ -22,7 +22,6 @@
 #include <asm/errno.h>
 
 #include "libaio.h"
-#include "vsys_def.h"
 
 #include "syscall.h"
 
diff --git a/src/vsys_def.h b/src/vsys_def.h
deleted file mode 100644 (file)
index dd711dc..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/* libaio Linux async I/O interface
-   Copyright 2002 Red Hat, Inc.
-
-   This library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Lesser General Public
-   License as published by the Free Software Foundation; either
-   version 2 of the License, or (at your option) any later version.
-
-   This library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with this library; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
- */
-extern int vsys_io_setup(unsigned nr_reqs, io_context_t *ctxp);
-extern int vsys_io_destroy(io_context_t ctx);
-extern int vsys_io_submit(io_context_t ctx, long nr, struct iocb *iocbs[]);
-extern int vsys_io_cancel(io_context_t ctx, struct iocb *iocb);
-extern int vsys_io_wait(io_context_t ctx, struct iocb *iocb, const struct timespec *when);
-extern int vsys_io_getevents(io_context_t ctx, long nr, struct io_event *events, const struct timespec *timeout);
-