tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
splitting device.h
I would like to break the circular dependency between <sys/pmf.h> and
<sys/device.h> by moving basic declarations out of <sys/device.h> and
into a new header file, <sys/device_if.h>. Ok? Here is what I have so
far:
#ifndef _SYS_DEVICE_IF_H
#define _SYS_DEVICE_IF_H
struct device;
typedef struct device *device_t;
#ifdef _KERNEL
struct device_lock;
typedef struct device_lock *device_lock_t;
#endif
#endif /* _SYS_DEVICE_IF_H */
Dave
--
David Young OJC Technologies
dyoung%ojctech.com@localhost Urbana, IL * (217) 278-3933
Home |
Main Index |
Thread Index |
Old Index