diff options
author | Thi Tran <thi@us.ibm.com> | 2015-05-21 11:25:11 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2015-12-11 13:40:20 -0600 |
commit | 666beba9979fe0c862fa650a513859c4c3c6effa (patch) | |
tree | 2a564cd7963a5da5735fee0c2ef3567f5aa7f6b9 /src/import | |
parent | 49d0a6495083f6aa1f7cb707d6c8a34f50f5c545 (diff) | |
download | talos-hostboot-666beba9979fe0c862fa650a513859c4c3c6effa.tar.gz talos-hostboot-666beba9979fe0c862fa650a513859c4c3c6effa.zip |
Have Attribute enum under namespace fapi2
Change-Id: I5ca4de085c44c312aa61c756fea54cc49f20191c
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17915
Tested-by: Jenkins Server
Reviewed-by: Matt K. Light <mklight@us.ibm.com>
Reviewed-by: Brian Silver <bsilver@us.ibm.com>
Diffstat (limited to 'src/import')
-rwxr-xr-x | src/import/hwpf/fapi2/tools/parseAttributeInfo.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/import/hwpf/fapi2/tools/parseAttributeInfo.pl b/src/import/hwpf/fapi2/tools/parseAttributeInfo.pl index d3a7512f7..ca7feaa5b 100755 --- a/src/import/hwpf/fapi2/tools/parseAttributeInfo.pl +++ b/src/import/hwpf/fapi2/tools/parseAttributeInfo.pl @@ -97,6 +97,8 @@ print AIFILE "// This file is generated by perl script parseAttributeInfo.pl\n\n print AIFILE "#ifndef ATTRIBUTEIDS_H_\n"; print AIFILE "#define ATTRIBUTEIDS_H_\n\n"; print AIFILE "#include <target_types.H>\n\n"; +print AIFILE "namespace fapi2\n"; +print AIFILE "{\n\n"; print AIFILE "\/**\n"; print AIFILE " * \@brief Enumeration of attribute IDs\n"; print AIFILE " *\/\n"; @@ -666,7 +668,7 @@ foreach my $argnum (0 .. $#ARGV) #------------------------------------------------------------------------------ # Print End of file information to attribute_ids.H #------------------------------------------------------------------------------ -#print AIFILE "}\n\n"; +print AIFILE "}\n\n"; print AIFILE "#endif\n"; #------------------------------------------------------------------------------ @@ -727,8 +729,6 @@ print ASFILE "</html>\n"; #} #print FEFILE "};\n"; - - #------------------------------------------------------------------------------ # Close output files #------------------------------------------------------------------------------ |