Fix warning: 128: warning: initialization makes pointer from integer
Note: this file has lots of #if __FreeBSD__ >= 4 etc which needs to be changed to __FreeBSD_version >= 400000 etc.
This commit is contained in:
parent
ea6e16bc20
commit
c87a44114a
@ -124,7 +124,10 @@ Static struct cdevsw urio_cdevsw = {
|
||||
urioopen, urioclose, urioread, uriowrite,
|
||||
urioioctl, nopoll, nommap, nostrategy,
|
||||
"urio", URIO_CDEV_MAJOR,nodump, nopsize,
|
||||
0, -1
|
||||
0,
|
||||
#if (__FreeBSD__ < 5)
|
||||
-1
|
||||
#endif
|
||||
};
|
||||
#define RIO_UE_GET_DIR(p) ((UE_GET_DIR(p) == UE_DIR_IN) ? RIO_IN :\
|
||||
((UE_GET_DIR(p) == UE_DIR_OUT) ? RIO_OUT :\
|
||||
|
Loading…
Reference in New Issue
Block a user