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:
David E. O'Brien 2012-07-03 15:15:41 +00:00
parent ae88a6d9ac
commit 7dcc1b85dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238072
6 changed files with 0 additions and 12 deletions

View file

@ -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 */

View file

@ -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 */

View file

@ -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*/

View file

@ -31,8 +31,6 @@
#ifndef _VIRTIO_H_
#define _VIRTIO_H_
#include <sys/types.h>
struct vq_alloc_info;
/* VirtIO device IDs. */

View file

@ -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). */

View file

@ -29,8 +29,6 @@
#ifndef _VIRTIO_VIRTQUEUE_H
#define _VIRTIO_VIRTQUEUE_H
#include <sys/types.h>
struct virtqueue;
struct sglist;