1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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:
Peter Wemm 2001-06-15 00:26:41 +00:00
parent 65ea0024ba
commit 1d63bf5236
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78239

View File

@ -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 :\