From owner-cvs-all Sun May 9 21:25:23 1999 Delivered-To: cvs-all@freebsd.org Received: from phk.freebsd.dk (phk.freebsd.dk [212.242.40.153]) by hub.freebsd.org (Postfix) with ESMTP id 646621572A; Sun, 9 May 1999 21:25:10 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by phk.freebsd.dk (8.9.1/8.8.8) with ESMTP id GAA12385; Mon, 10 May 1999 06:25:08 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.2/8.9.2) with ESMTP id GAA23322; Mon, 10 May 1999 06:24:58 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Bruce Evans Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/sys types.h In-reply-to: Your message of "Mon, 10 May 1999 08:21:50 +1000." <199905092221.IAA25882@godzilla.zeta.org.au> Date: Mon, 10 May 1999 06:24:58 +0200 Message-ID: <23320.926310298@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk In message <199905092221.IAA25882@godzilla.zeta.org.au>, Bruce Evans writes: >> 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. It is a temporary thing. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message