Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Oct 2014 08:48:37 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Steven Hartland <smh@freebsd.org>
Cc:        Kashyap D Desai <kadesai@freebsd.org>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r272738 - in head/sys: dev/mrsas modules/mrsas modules/mrsas/mrsas_linux
Message-ID:  <1896519.jz39uM6CZQ@ralph.baldwin.cx>
In-Reply-To: <81F46B899A5843B7B0D07649108D5A97@multiplay.co.uk>
References:  <201410080930.s989Uat9073960@svn.freebsd.org> <81F46B899A5843B7B0D07649108D5A97@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, October 08, 2014 10:50:47 AM Steven Hartland wrote:
> I thought it was convension to avoid using $FreeBSD$ in code comments
> instead use the __FBSDID e.g.
> 
> #include <sys/cdefs.h>
> __FBSDID("$FreeBSD$");
> #include <sys/param.h>
> 
> Could anyone confirm?
> 
>     Regards
>     Steve


Yes, C files use __FBSDID().  I believe headers use a bare $FreeBSD$ comment 
after the license block.

-- 
John Baldwin



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