From owner-cvs-src@FreeBSD.ORG Sun Jul 6 21:52:10 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96F6437B401; Sun, 6 Jul 2003 21:52:10 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79DBE43FE0; Sun, 6 Jul 2003 21:52:08 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h674q7dP021607; Sun, 6 Jul 2003 22:52:07 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 06 Jul 2003 22:52:03 -0600 (MDT) Message-Id: <20030706.225203.52907520.imp@bsdimp.com> To: obrien@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <20030707040326.GB26228@dragon.nuxi.com> References: <20030707003216.GI72093@elvis.mu.org> <20030707040326.GB26228@dragon.nuxi.com> X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: bright@mu.org cc: drosih@rpi.edu cc: src-committers@FreeBSD.org cc: charnier@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/lpr/lpd lpd.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 04:52:10 -0000 In message: <20030707040326.GB26228@dragon.nuxi.com> "David O'Brien" writes: : On Sun, Jul 06, 2003 at 09:20:37PM -0400, Garance A Drosihn wrote: : > Well, any change to use __FBSDID() has to #include : > to get FBSDID() to work. Of course, /usr/include/sys/cdefs.h : > does not exist on all platforms either (and is certainly not : > likely to define __FBSDID even if the file does exist), so that's : > just more of an annoyance when I'm doing cross-platform work. : : #ifdef __FreeBSD__ : #include : __FBSDID("$FreeBSD$"); : #endif #include #ifdef __FBSDID __FBSDID("$FreeBSD$"); #endif might be better... Warner