diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-17 07:53:12 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-17 07:53:12 +0000 |
commit | 6ec270534585122c27ad60883fde5253386d9830 (patch) | |
tree | 9248500ab14b04dec655db5f30d380950b35f9ff /sys/dev/usb/makemap.awk | |
parent | ad5e118396fcd2a9b7b0e050d2afe54576f65cba (diff) |
No longer include usb_port.h, all macros have been converted to their C
counterparts.
Revert usb_port.h to it's original form with all the macro definitions to
ease the import of new drivers from other BSDs.
after discussion with deraadt; feedback from mk, miod, jsg, dlg.
ok dlg.
Diffstat (limited to 'sys/dev/usb/makemap.awk')
-rw-r--r-- | sys/dev/usb/makemap.awk | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/dev/usb/makemap.awk b/sys/dev/usb/makemap.awk index 2336aea35d3..6b0900fa8c1 100644 --- a/sys/dev/usb/makemap.awk +++ b/sys/dev/usb/makemap.awk @@ -1,5 +1,5 @@ #! /usr/bin/awk -f -# $OpenBSD: makemap.awk,v 1.6 2005/05/23 21:33:03 miod Exp $ +# $OpenBSD: makemap.awk,v 1.7 2007/06/17 07:53:11 mbalmer Exp $ # # Copyright (c) 2005, Miodrag Vallat # @@ -31,7 +31,7 @@ # BEGIN { - rcsid = "$OpenBSD: makemap.awk,v 1.6 2005/05/23 21:33:03 miod Exp $" + rcsid = "$OpenBSD: makemap.awk,v 1.7 2007/06/17 07:53:11 mbalmer Exp $" ifdepth = 0 ignore = 0 declk = 0 @@ -205,10 +205,8 @@ $1 == "#include" { if (ignore) next if ($2 == "<dev/pckbc/wskbdmap_mfii.h>") - print "#include <dev/usb/usb_port.h>" - else - printf("#include %s\n", $2) - + next + printf("#include %s\n", $2) next } $1 == "#define" || $1 == "#undef" { |