git: 021c4fa6b04c - main - miidevs2h: Ignore the first line
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Aug 2023 05:40:40 UTC
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