summaryrefslogtreecommitdiffstats
path: root/vidix
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-21 22:57:10 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-21 22:57:10 +0000
commit54b8a250de6cc99ddf81b222deee4850994f088b (patch)
treef869fc29a41b68a4d4f9562dfb59e2b45f00c444 /vidix
parent35428d1f9f2f4235a6999b5a5a0183090bde9cf5 (diff)
downloadmpv-54b8a250de6cc99ddf81b222deee4850994f088b.tar.bz2
mpv-54b8a250de6cc99ddf81b222deee4850994f088b.tar.xz
Create standard multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26058 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix')
-rw-r--r--vidix/pci_db2c.awk18
1 files changed, 9 insertions, 9 deletions
diff --git a/vidix/pci_db2c.awk b/vidix/pci_db2c.awk
index f822fba7f8..16b8c6c33d 100644
--- a/vidix/pci_db2c.awk
+++ b/vidix/pci_db2c.awk
@@ -46,17 +46,17 @@ BEGIN {
print_head(name_h_file);
print_head(dev_ids_file);
print_includes(dev_ids_file);
- print "#ifndef PCI_VENDORS_INCLUDED" >vendor_file
- print "#define PCI_VENDORS_INCLUDED 1">vendor_file
+ print "#ifndef PCI_VENDORS_H" >vendor_file
+ print "#define PCI_VENDORS_H">vendor_file
print "" >vendor_file
- print "#ifndef PCI_IDS_INCLUDED" >ids_file
- print "#define PCI_IDS_INCLUDED 1">ids_file
+ print "#ifndef PCI_IDS_H" >ids_file
+ print "#define PCI_IDS_H">ids_file
print "" >ids_file
print "#include \"pci_vendors.h\"">ids_file
print "" >ids_file
- print "#ifndef PCI_NAMES_INCLUDED" >name_h_file
- print "#define PCI_NAMES_INCLUDED 1">name_h_file
+ print "#ifndef PCI_NAMES_H" >name_h_file
+ print "#define PCI_NAMES_H">name_h_file
print "" >name_h_file
print_name_struct(name_h_file);
print "#include <stddef.h>">name_file
@@ -116,11 +116,11 @@ BEGIN {
}
#print "Total lines parsed:", line;
print "">vendor_file
- print "#endif/*PCI_VENDORS_INCLUDED*/">vendor_file
+ print "#endif /* PCI_VENDORS_H */">vendor_file
print "">ids_file
- print "#endif/*PCI_IDS_INCLUDED*/">ids_file
+ print "#endif /* PCI_IDS_H */">ids_file
print "">name_h_file
- print "#endif/*PCI_NAMES_INCLUDED*/">name_h_file
+ print "#endif /* PCI_NAMES_H */">name_h_file
if (with_pci_db) print "};">name_file
print "{ 0xFFFF, NULL }" >dev_ids_file;
print "};">dev_ids_file