From 3a4525bfc2310ca90e0aa6c72e325b3bffe79b70 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 20 Dec 2009 19:32:25 +0000 Subject: Eliminate completely pointless print_includes function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30090 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/pci_db2c.awk | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/vidix/pci_db2c.awk b/vidix/pci_db2c.awk index f54a29fb35..202eddfc8e 100755 --- a/vidix/pci_db2c.awk +++ b/vidix/pci_db2c.awk @@ -42,7 +42,9 @@ BEGIN { print_head(ids_file); print_head(name_file); print_head(dev_ids_file); - print_includes(dev_ids_file); + print "#include " > dev_ids_file; + print "#include \"pci_names.h\"" > dev_ids_file; + print_guards_start(vendor_file); print_guards_start(ids_file); print "#include \"pci_vendors.h\"" > ids_file @@ -130,12 +132,6 @@ function print_guards_end(out_file) printf("#endif /* %s */\n", guard_name) > out_file } -function print_includes(out_file) -{ - print "#include " > out_file; - print "#include \"pci_names.h\"" > out_file; -} - function print_head(out_file) { printf("/* File: %s\n", out_file) > out_file; -- cgit v1.2.3