Merging upstream version 1.13.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e9fe8c0d9d
commit
f7fc7fc747
1001 changed files with 1634 additions and 1045 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue