[klibc] makedev()

Greg KH greg at kroah.com
Wed Feb 11 17:15:11 PST 2004

On Sun, Feb 08, 2004 at 10:22:43PM -0800, H. Peter Anvin wrote:
> H. Peter Anvin wrote:
> >Jon Smirl wrote:
> >
> >>We should add the makedev() macro too. Udev and I both need it.
> >>
> >
> >Anyone happens to know what the "correct" header file for this is?
> >
> Found it... it's apparently supposed to be in <sys/sysmacros.h> which is 
> included in <sys/types.h>.
> I have released klibc-0.105 which includes these (as inline functions 
> rather than macros, and 32-bit-dev_t compliant) as well as the wait and 
> access macros, and the integer type cleanup.

Thanks a lot, I've fixed up udev to use makedev() instead of trying to
roll it's own.

greg k-h

More information about the klibc mailing list