summaryrefslogtreecommitdiffstats
path: root/Source/cmCPluginAPI.cxx
diff options
context:
space:
mode:
authorDaniel R. Gomez <gomez@teragram.com>2011-05-29 04:28:00 (GMT)
committerBrad King <brad.king@kitware.com>2011-05-31 13:08:59 (GMT)
commita4cba0e8be09f1a0a6a9bb9f8c56cbb596447e89 (patch)
tree04a939f5b6b04d14822c93dd8e8a155f5f79f4c3 /Source/cmCPluginAPI.cxx
parent909bab1f4fe877f7ffff627c3702cb1732f70d97 (diff)
downloadCMake-a4cba0e8be09f1a0a6a9bb9f8c56cbb596447e89.zip
CMake-a4cba0e8be09f1a0a6a9bb9f8c56cbb596447e89.tar.gz
CMake-a4cba0e8be09f1a0a6a9bb9f8c56cbb596447e89.tar.bz2
Fix plugin API for gcc 2.9-aix51-020209 (#12233)
Use proper C function prototype syntax to satisfy this compiler.
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r--Source/cmCPluginAPI.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx
index 411a28d..e237913 100644
--- a/Source/cmCPluginAPI.cxx
+++ b/Source/cmCPluginAPI.cxx
@@ -518,7 +518,7 @@ public:
};
cmCPluginAPISourceFileMap cmCPluginAPISourceFiles;
-void * CCONV cmCreateSourceFile()
+void * CCONV cmCreateSourceFile(void)
{
return (void*)new cmCPluginAPISourceFile;
}