From 4e4bb7561af3262e5936f081ddb79309814999f4 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sat, 15 Sep 2001 03:41:00 +0000 Subject: [PATCH] Add __FBSDID() macro to support rcs identifiers in source files. --- sys/sys/cdefs.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index ca68d5c188da..492b234a6f5f 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -211,6 +211,14 @@ #define __RCSID(s) __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) #endif +#ifndef __FBSDID +#if !defined(lint) && !defined(STRIP_FBSDID) +#define __FBSDID(s) __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) +#else +#define __FBSDID(s) +#endif +#endif + #ifndef __RCSID_SOURCE #define __RCSID_SOURCE(s) __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) #endif