From a4cba0e8be09f1a0a6a9bb9f8c56cbb596447e89 Mon Sep 17 00:00:00 2001 From: "Daniel R. Gomez" Date: Sun, 29 May 2011 00:28:00 -0400 Subject: [PATCH] Fix plugin API for gcc 2.9-aix51-020209 (#12233) Use proper C function prototype syntax to satisfy this compiler. --- Source/cmCPluginAPI.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 411a28d08..e23791355 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; }