aboutsummaryrefslogtreecommitdiff
path: root/sys/tools
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-01-28 05:13:08 +0000
committerWarner Losh <imp@FreeBSD.org>2018-01-28 05:13:08 +0000
commiteef186f8f56e0e0416689730f09e7ba199283096 (patch)
tree5f738481b9d1a3ccd1e5fbe8f40ba5f924f6956e /sys/tools
parenta645f2a50a4b44444a5da87dc62c0cc743469f9d (diff)
downloadsrc-eef186f8f56e0e0416689730f09e7ba199283096.tar.gz
src-eef186f8f56e0e0416689730f09e7ba199283096.zip
Avoid using \$. It's an unknown escape sequence. Some awks warn about
that. Instead, simply remove the sequence entirely because we never commit the generated files.
Notes
Notes: svn path=/head/; revision=328507
Diffstat (limited to 'sys/tools')
-rw-r--r--sys/tools/usbdevs2h.awk8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/tools/usbdevs2h.awk b/sys/tools/usbdevs2h.awk
index 8d641d0677b2..42e57cf190a8 100644
--- a/sys/tools/usbdevs2h.awk
+++ b/sys/tools/usbdevs2h.awk
@@ -42,14 +42,6 @@ function usage()
function header(file)
{
- if (os == "NetBSD")
- printf("/*\t\$NetBSD\$\t*/\n\n") > file
- else if (os == "FreeBSD")
- printf("/* \$FreeBSD\$ */\n\n") > file
- else if (os == "OpenBSD")
- printf("/*\t\$OpenBSD\$\t*/\n\n") > file
- else
- printf("/* ??? */\n\n") > file
printf("/*\n") > file
printf(" * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.\n") \
> file