mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 09:00:28 +00:00
Do not include <sys/types.h> in the local headers. The .c files including
them have already included <sys/param.h> before these headers are included.
This commit is contained in:
parent
ae88a6d9ac
commit
7dcc1b85dd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238072
|
@ -31,8 +31,6 @@
|
|||
#ifndef _VIRTIO_BALLOON_H
|
||||
#define _VIRTIO_BALLOON_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
/* Feature bits. */
|
||||
#define VIRTIO_BALLOON_F_MUST_TELL_HOST 0x1 /* Tell before reclaiming pages */
|
||||
#define VIRTIO_BALLOON_F_STATS_VQ 0x2 /* Memory stats virtqueue */
|
||||
|
|
|
@ -31,8 +31,6 @@
|
|||
#ifndef _VIRTIO_BLK_H
|
||||
#define _VIRTIO_BLK_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
/* Feature bits */
|
||||
#define VIRTIO_BLK_F_BARRIER 0x0001 /* Does host support barriers? */
|
||||
#define VIRTIO_BLK_F_SIZE_MAX 0x0002 /* Indicates maximum segment size */
|
||||
|
|
|
@ -31,8 +31,6 @@
|
|||
#ifndef _VIRTIO_NET_H
|
||||
#define _VIRTIO_NET_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
/* The feature bitmap for virtio net */
|
||||
#define VIRTIO_NET_F_CSUM 0x00001 /* Host handles pkts w/ partial csum */
|
||||
#define VIRTIO_NET_F_GUEST_CSUM 0x00002 /* Guest handles pkts w/ partial csum*/
|
||||
|
|
|
@ -31,8 +31,6 @@
|
|||
#ifndef _VIRTIO_H_
|
||||
#define _VIRTIO_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
struct vq_alloc_info;
|
||||
|
||||
/* VirtIO device IDs. */
|
||||
|
|
|
@ -33,8 +33,6 @@
|
|||
#ifndef VIRTIO_RING_H
|
||||
#define VIRTIO_RING_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
/* This marks a buffer as continuing via the next field. */
|
||||
#define VRING_DESC_F_NEXT 1
|
||||
/* This marks a buffer as write-only (otherwise read-only). */
|
||||
|
|
|
@ -29,8 +29,6 @@
|
|||
#ifndef _VIRTIO_VIRTQUEUE_H
|
||||
#define _VIRTIO_VIRTQUEUE_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
struct virtqueue;
|
||||
struct sglist;
|
||||
|
||||
|
|
Loading…
Reference in a new issue