usbdevs2h: Ignore First Line and stop generating $FreeBSD$
Just ignore the first line of the usbdevs file. And stop recording what the usbdevs* files were generated from. It's said '$FreeBSD$' for years now... Sponsored by: Netflix
This commit is contained in:
parent
bf46512a54
commit
94b73d30ef
@ -45,9 +45,6 @@ function header(file)
|
||||
printf("/*\n") > file
|
||||
printf(" * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.\n") \
|
||||
> file
|
||||
printf(" *\n") > file
|
||||
printf(" * generated from:\n") > file
|
||||
printf(" *\t%s\n", VERSION) > file
|
||||
printf(" */\n") > file
|
||||
}
|
||||
|
||||
@ -234,8 +231,6 @@ line=0;
|
||||
while ((getline < srcfile) > 0) {
|
||||
line++;
|
||||
if (line == 1) {
|
||||
VERSION = $0
|
||||
gsub("\\$", "", VERSION)
|
||||
if (dfile)
|
||||
header(dfile)
|
||||
if (hfile)
|
||||
|
Loading…
Reference in New Issue
Block a user