summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/types.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/sys/types.h b/sys/sys/types.h
index 4243a15..9a240fd 100644
--- a/sys/sys/types.h
+++ b/sys/sys/types.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)types.h 8.6 (Berkeley) 2/19/95
- * $Id: types.h,v 1.32 1999/05/12 07:41:49 phk Exp $
+ * $Id: types.h,v 1.33 1999/05/12 11:06:56 phk Exp $
*/
#ifndef _SYS_TYPES_H_
@@ -112,12 +112,6 @@ typedef u_int32_t dev_t; /* device number */
* change the meanings of bits 0-15 or waste time and space shifting
* bits 16-31 for devices that don't use them.
*/
-
-/*
- * minor() gives a cookie instead of an index since we don't want to
- * change the meanings of bits 0-15 or waste time and space shifting
- * bits 16-31 for devices that don't use them.
- */
#define major(x) ((int)(((u_int)(x) >> 8)&0xff)) /* major number */
#define minor(x) ((int)((x)&0xffff00ff)) /* minor number */
#define makedev(x,y) ((dev_t)(((x) << 8) | (y))) /* create dev_t */
OpenPOWER on IntegriCloud