summaryrefslogtreecommitdiff
path: root/device/buf.h
diff options
context:
space:
mode:
Diffstat (limited to 'device/buf.h')
-rw-r--r--device/buf.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/device/buf.h b/device/buf.h
index 80466c8d..a79ed8e4 100644
--- a/device/buf.h
+++ b/device/buf.h
@@ -30,6 +30,9 @@
* Definitions to make new IO structures look like old ones
*/
+#ifndef _DEVICE_BUF_H_
+#define _DEVICE_BUF_H_
+
/*
* io_req and fields
*/
@@ -80,11 +83,6 @@
#define B_MD1 IO_SPARE_START
/*
- * Redefine uio structure
- */
-#define uio io_req
-
-/*
* Redefine physio routine
*/
#define physio(strat, xbuf, dev, ops, minphys, ior) \
@@ -100,3 +98,5 @@ extern void minphys(io_req_t);
*/
#define biodone iodone
#define biowait iowait
+
+#endif /* _DEVICE_BUF_H_ */