Skip to content

Commit 42059e6

Browse files
committed
tools/virtio: add struct module forward declaration
Declarate struct module in our linux/module.h stub. Created using Cursor CLI. Message-ID: <c01b8d24159664cc8c49354088efa342ae9e7321.1764873799.git.mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent 16fe720 commit 42059e6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tools/virtio/linux/module.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
22
#include <linux/export.h>
33

4+
struct module;
5+
46
#define MODULE_LICENSE(__MODULE_LICENSE_value) \
57
static __attribute__((unused)) const char *__MODULE_LICENSE_name = \
68
__MODULE_LICENSE_value

0 commit comments

Comments
 (0)