summaryrefslogblamecommitdiff
path: root/include/sys/sysmacros.h
blob: 65ab60cd8456fe4cfbaeaa6dd1fb49c8789304a2 (plain) (tree)
1
2
3
4
5
6
7
8

                        
 


                                          

      
#ifndef _SYS_SYSMACROS_H
#define _SYS_SYSMACROS_H

#define major(x) (((x) >> 8) & 0xff)
#define minor(x) ((x) & 0xff)
#define makedev(x,y) (((x)<<8)|((y)&0xff))

#endif