Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2023 05:40:40 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 021c4fa6b04c - main - miidevs2h: Ignore the first line
Message-ID:  <202308160540.37G5eeLQ033818@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=021c4fa6b04ced4bed9a4937086c62ebbe571f63

commit 021c4fa6b04ced4bed9a4937086c62ebbe571f63
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-08-16 05:33:18 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-08-16 05:34:19 +0000

    miidevs2h: Ignore the first line
    
    The first line hasn't contained version information in years. Ignore it
    entirely.
    
    Sponsored by:           Netflix
---
 sys/tools/miidevs2h.awk | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/sys/tools/miidevs2h.awk b/sys/tools/miidevs2h.awk
index 54b9c28fe508..fba5049460d2 100644
--- a/sys/tools/miidevs2h.awk
+++ b/sys/tools/miidevs2h.awk
@@ -93,16 +93,9 @@ BEGIN {
 	hfile="miidevs.h"
 }
 NR == 1 {
-	VERSION = $0
-	gsub("\\$", "", VERSION)
-
-	printf("/* \$FreeBSD\$ */\n\n") > hfile
 	printf("/*\n") > hfile
 	printf(" * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.\n") \
 	    > hfile
-	printf(" *\n") > hfile
-	printf(" * generated from:\n") > hfile
-	printf(" *\t%s\n", VERSION) > hfile
 	printf(" */\n") > hfile
 
 	next



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