mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 17:12:46 +00:00
Add __FBSDID() macro to support rcs identifiers in source files.
This commit is contained in:
parent
6a903a9b76
commit
4e4bb7561a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83489
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user