1
0
Fork 0

Merging upstream version 1.13.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-04-13 11:46:35 +02:00
parent e9fe8c0d9d
commit f7fc7fc747
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
1001 changed files with 1634 additions and 1045 deletions

View file

@ -1,7 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1-or-later
#include "mock.h"
#include <errno.h>
#include <inttypes.h>
#include <stdarg.h>
@ -9,7 +7,9 @@
#include <sys/ioctl.h>
#include <dlfcn.h>
#include "../../src/nvme/ioctl.h"
#include <nvme/ioctl.h>
#include "mock.h"
#include "util.h"
struct mock_cmds {
@ -118,7 +118,7 @@ void end_mock_cmds(void)
} \
})
#ifdef HAVE_GLIBC_IOCTL
#if defined(HAVE_GLIBC_IOCTL) && HAVE_GLIBC_IOCTL == 1
typedef int (*ioctl_func_t)(int, unsigned long, void *);
int ioctl(int fd, unsigned long request, ...)
#else