--- Gnu-Mach/device/buf.h 2020/09/02 04:45:33 1.1.1.2 +++ Gnu-Mach/device/buf.h 2020/09/02 04:47:54 1.1.1.3 @@ -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_ */