Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 1999 08:21:50 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, phk@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys types.h
Message-ID:  <199905092221.IAA25882@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  Modified files:
>    sys/sys              types.h 
>  Log:
>  Make minor, major and makedev inline functions so we gain type checking
>  and prevent compile time creation of dev_t's from happening again.

You can't do that.  It adds gratuitous dependencies on the compiler being
gcc to the most central header in the system.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905092221.IAA25882>