diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:26:13 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:34:35 +0300 |
commit | 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch) | |
tree | 71cb9bd9ed121156d3382066c0722c73189afe04 /vidix/pci_db2c.awk | |
parent | 6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff) | |
download | mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2 mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz |
Remove trailing whitespace from most files
Diffstat (limited to 'vidix/pci_db2c.awk')
-rw-r--r-- | vidix/pci_db2c.awk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vidix/pci_db2c.awk b/vidix/pci_db2c.awk index 897ce8e312..1f948a5d76 100644 --- a/vidix/pci_db2c.awk +++ b/vidix/pci_db2c.awk @@ -68,7 +68,7 @@ BEGIN { } first_pass=1; init_name_db(); - while(getline <in_file) + while(getline <in_file) { # count up lines line++; @@ -235,8 +235,8 @@ function get_short_vendor_name(from) for(i=2;i<=n;i++) svendor=sprintf("%s%s%s", svendor, length(name[i])?"_":"", name[i]); new_name = svendor; vend_suffix = 2; -# check for unique - while(new_name in vendor_names) +# check for unique + while(new_name in vendor_names) { new_name = sprintf("%s%u", svendor, vend_suffix) vend_suffix = vend_suffix + 1; @@ -257,8 +257,8 @@ function get_short_device_name(from_name) for(i=2;i<=n;i++) sdevice=sprintf("%s%s%s", sdevice, length(name[i])?"_":"", name[i]); new_name = sdevice; dev_suffix = 2; -# check for unique - while(new_name in device_names) +# check for unique + while(new_name in device_names) { new_name = sprintf("%s%u", sdevice, dev_suffix) dev_suffix = dev_suffix + 1; @@ -279,8 +279,8 @@ function get_short_subdevice_name(from_name) for(i=2;i<=n;i++) ssdevice=sprintf("%s%s%s", ssdevice, length(name[i])?"_":"", name[i]); new_name = ssdevice; sdev_suffix = 2; -# check for unique - while(new_name in subdevice_names) +# check for unique + while(new_name in subdevice_names) { new_name = sprintf("%s%u", ssdevice, sdev_suffix) sdev_suffix = sdev_suffix + 1; |