Avoid repeated #define's in public headers.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-07-02 22:37:55 +00:00
1 parent e27fcf3739
commit fe39b61fe4
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -11,7 +11,9 @@
#include "ring.h"
#ifndef blkif_vdev_t
#define blkif_vdev_t u16
#endif
#define blkif_sector_t u64
#define BLKIF_OP_READ 0
+2 -2
View File
@@ -87,10 +87,10 @@ typedef struct control_if {
#define CMSG_BLKIF_FE_INTERFACE_DISCONNECT 34
#define CMSG_BLKIF_FE_INTERFACE_QUERY 35
/* These are used by both front-end and back-end drivers. */
#ifndef blkif_vdev_t
#define blkif_vdev_t u16
#endif
#define blkif_pdev_t u32
#define blkif_sector_t u64
/*
* CMSG_BLKIF_FE_INTERFACE_STATUS:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.