Update a couple of tools to not embed __FBSDID in generated files
Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41955
This commit is contained in:
@@ -55,9 +55,6 @@ print OUT <<END_OF_NOTICE;
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("\$FreeBSD\$");
|
||||
|
||||
END_OF_NOTICE
|
||||
|
||||
# Convert line endings
|
||||
@@ -132,9 +129,6 @@ if ($do_decode) {
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("\$FreeBSD\$");
|
||||
|
||||
END_OF_NOTICE
|
||||
|
||||
if(!open(HDR, ">", "hsi_struct_decode.h")) {
|
||||
|
||||
@@ -593,11 +593,6 @@ static void table_print(struct table *t)
|
||||
|
||||
nlloop = (t->nentry + 3) / 4;
|
||||
c = t->nentry;
|
||||
printf(
|
||||
"#include <sys/cdefs.h>\n"
|
||||
"__FBSDID(\"$" "FreeBSD" "$\");\n"
|
||||
"\n"
|
||||
);
|
||||
printf("static const unsigned %s_reg_safe_bm[%d] = {\n", t->gpu_prefix,
|
||||
t->nentry);
|
||||
for (i = 0, id = 0; i < nlloop; i++) {
|
||||
|
||||
Reference in New Issue
Block a user