aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2023-08-16 05:33:18 +0000
committerWarner Losh <imp@FreeBSD.org>2023-08-23 17:43:18 +0000
commit5197a1c13266334c937dc643f33bdc8899ebd9fb (patch)
tree9696b6dc6ef0cabec7e84b0b569bb3012decd27a
parent1ddda65e6fd720b0366c0e9da64d2eff3279b8ee (diff)
downloadsrc-5197a1c13266334c937dc643f33bdc8899ebd9fb.tar.gz
src-5197a1c13266334c937dc643f33bdc8899ebd9fb.zip
miidevs2h: Ignore the first line
The first line hasn't contained version information in years. Ignore it entirely. Sponsored by: Netflix (cherry picked from commit 021c4fa6b04ced4bed9a4937086c62ebbe571f63)
-rw-r--r--sys/tools/miidevs2h.awk7
1 files changed, 0 insertions, 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