diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-02-28 22:51:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-02-28 22:51:08 +0000 |
commit | c2b78ea70e118cdc657c084ecce5488e3ffee1b8 (patch) | |
tree | 627aeed8256b763900c3ea52aca3c0859db415de /sys/dev | |
parent | f4bd1603fb20ae1d3832ebad4b59e8db3a9ef0fe (diff) |
the_t world_t would_t be_t a_t better_t place_t if_t some_t people_t did_t
not_t feel_t the_t need_t to_t typedef_t everything_t
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/devlist2h.awk | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/sys/dev/usb/devlist2h.awk b/sys/dev/usb/devlist2h.awk index e009547fa53..313d883a45e 100644 --- a/sys/dev/usb/devlist2h.awk +++ b/sys/dev/usb/devlist2h.awk @@ -1,5 +1,5 @@ #! /usr/bin/awk -f -# $OpenBSD: devlist2h.awk,v 1.9 2007/02/28 22:30:55 deraadt Exp $ +# $OpenBSD: devlist2h.awk,v 1.10 2007/02/28 22:51:07 deraadt Exp $ # $NetBSD: devlist2h.awk,v 1.9 2001/01/18 20:28:22 jdolecek Exp $ # # Copyright (c) 1995, 1996 Christopher G. Demetriou @@ -175,21 +175,18 @@ END { printf("\n") > dfile - printf("typedef u_int16_t usb_vendor_id_t;\n") > dfile - printf("typedef u_int16_t usb_product_id_t;\n\n") > dfile - printf("/*\n") > dfile printf(" * Descriptions of known vendors and devices (\"products\").\n") > dfile printf(" */\n") > dfile printf("struct usb_known_vendor {\n") > dfile - printf(" usb_vendor_id_t vendor;\n") > dfile - printf(" char *vendorname;\n") > dfile + printf(" u_int16_t vendor;\n") > dfile + printf(" char *vendorname;\n") > dfile printf("};\n\n") > dfile printf("struct usb_known_product {\n") > dfile - printf(" usb_vendor_id_t vendor;\n") > dfile - printf(" usb_product_id_t product;\n") > dfile - printf(" char *productname;\n") > dfile + printf(" u_int16_t vendor;\n") > dfile + printf(" u_int16_t product;\n") > dfile + printf(" char *productname;\n") > dfile printf("};\n\n") > dfile printf("const struct usb_known_product usb_known_products[] = {\n") \ > dfile |