aboutsummaryrefslogtreecommitdiffhomepage
path: root/vidix/pci_db2c.awk
diff options
context:
space:
mode:
Diffstat (limited to 'vidix/pci_db2c.awk')
-rw-r--r--vidix/pci_db2c.awk6
1 files changed, 0 insertions, 6 deletions
diff --git a/vidix/pci_db2c.awk b/vidix/pci_db2c.awk
index 4f6a084bda..3d10297652 100644
--- a/vidix/pci_db2c.awk
+++ b/vidix/pci_db2c.awk
@@ -145,9 +145,6 @@ function print_head( out_file)
function print_name_struct(out_file)
{
- print "#ifdef __cplusplus" >out_file
- print "extern \"C\" {" >out_file
- print "#endif" >out_file
print "">out_file
print "struct device_id_s" >out_file
print "{" >out_file
@@ -164,9 +161,6 @@ function print_name_struct(out_file)
print "extern const char *pci_vendor_name(unsigned short id);">out_file
print "extern const char *pci_device_name(unsigned short vendor_id, unsigned short device_id);">out_file
print "">out_file
- print "#ifdef __cplusplus" >out_file
- print "}" >out_file
- print "#endif" >out_file
return
}