svn commit: r272738 - in head/sys: dev/mrsas modules/mrsas modules/mrsas/mrsas_linux

John Baldwin jhb at freebsd.org
Wed Oct 8 12:48:50 UTC 2014


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


More information about the svn-src-head mailing list