1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

NODEV is defined the same in _KERNEL and !_KERNEL case, so move it out from

the preprocessor conditional, and remove the now-empty #else.

Reviewed by:	asmodai
This commit is contained in:
Juli Mallett 2002-06-04 05:48:38 +00:00
parent 51f7a48bf0
commit 22ed0c9ade
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97795

View File

@ -184,12 +184,10 @@
#define NBPW sizeof(int) /* number of bytes per word (integer) */
#define CMASK 022 /* default file mask: S_IWGRP|S_IWOTH */
#ifdef _KERNEL
#define NODEV (dev_t)(-1) /* non-existent device */
#ifdef _KERNEL
#define NOUDEV (udev_t)(-1) /* non-existent device */
#define NOMAJ 256 /* non-existent device */
#else
#define NODEV (dev_t)(-1) /* non-existent device */
#endif
#define CBLOCK 128 /* Clist block size, must be a power of 2. */