summaryrefslogtreecommitdiff
path: root/Modules/FortranCInterface/mymodule_.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-08-05 17:07:36 -0400
committerBrad King <brad.king@kitware.com>2009-08-05 17:07:36 -0400
commitedcddb522cd9a7108216b92140e5bc1e7bcb5530 (patch)
tree2cb4ba6d1a3c33f31c0d254ed29a21e96fa14497 /Modules/FortranCInterface/mymodule_.c
parent71287734a9344e130721502e6342ef0afb0554a4 (diff)
downloadcmake-edcddb522cd9a7108216b92140e5bc1e7bcb5530.tar.gz
Cleanup FortranCInterface for PGI and GCC 4.2
This documents the purpose of the extra my_module_.c and mymodule.c source files, and sorts the symbols.
Diffstat (limited to 'Modules/FortranCInterface/mymodule_.c')
-rw-r--r--Modules/FortranCInterface/mymodule_.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FortranCInterface/mymodule_.c b/Modules/FortranCInterface/mymodule_.c
index 68550b296d..a7152afad5 100644
--- a/Modules/FortranCInterface/mymodule_.c
+++ b/Modules/FortranCInterface/mymodule_.c
@@ -1 +1,2 @@
-void mymodule_(void){}
+/* PGI Fortran wants mymodule_ when calling any mymodule symbol. */
+void mymodule_(void) {}