summaryrefslogtreecommitdiffstats
path: root/ppapi/generators
diff options
context:
space:
mode:
authorsbc@chromium.org <sbc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-06 03:33:46 +0000
committersbc@chromium.org <sbc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-06 03:33:46 +0000
commit8450e43f121904b36803514acb362733df36d369 (patch)
treea9b0be1ad795e5c4b239ddf6e8786d6d039a2b3b /ppapi/generators
parent1937bed70d466b4c086df27753c16e6d3aa41864 (diff)
downloadchromium_src-8450e43f121904b36803514acb362733df36d369.zip
chromium_src-8450e43f121904b36803514acb362733df36d369.tar.gz
chromium_src-8450e43f121904b36803514acb362733df36d369.tar.bz2
Remove C++-style comments from C headers.
We compile the nacl examples with -pednatic which generates warnings for C++ style comments, and these seem to be the only 2 in the whole API. BUG= Review URL: https://chromiumcodereview.appspot.com/11363042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166124 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/generators')
-rwxr-xr-xppapi/generators/idl_c_header.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/generators/idl_c_header.py b/ppapi/generators/idl_c_header.py
index 3344a4d..c1e6071 100755
--- a/ppapi/generators/idl_c_header.py
+++ b/ppapi/generators/idl_c_header.py
@@ -72,7 +72,7 @@ def GenerateHeader(out, filenode, releases):
item = node.GetProperty('VALUE')
# If 'C++' use __cplusplus wrapper
if node.GetName() == 'cc':
- item = '#ifdef __cplusplus\n%s\n#endif // __cplusplus\n\n' % item
+ item = '#ifdef __cplusplus\n%s\n#endif /* __cplusplus */\n\n' % item
# If not C++ or C, then skip it
elif not node.GetName() == 'c':
continue