summaryrefslogtreecommitdiffstats
path: root/Modules/FortranCInterface/my_module_.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-08-05 21:07:36 (GMT)
committerBrad King <brad.king@kitware.com>2009-08-05 21:07:36 (GMT)
commitedcddb522cd9a7108216b92140e5bc1e7bcb5530 (patch)
tree2cb4ba6d1a3c33f31c0d254ed29a21e96fa14497 /Modules/FortranCInterface/my_module_.c
parent71287734a9344e130721502e6342ef0afb0554a4 (diff)
downloadCMake-edcddb522cd9a7108216b92140e5bc1e7bcb5530.zip
CMake-edcddb522cd9a7108216b92140e5bc1e7bcb5530.tar.gz
CMake-edcddb522cd9a7108216b92140e5bc1e7bcb5530.tar.bz2
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/my_module_.c')
-rw-r--r--Modules/FortranCInterface/my_module_.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FortranCInterface/my_module_.c b/Modules/FortranCInterface/my_module_.c
index bba63cb..0d7091f 100644
--- a/Modules/FortranCInterface/my_module_.c
+++ b/Modules/FortranCInterface/my_module_.c
@@ -1 +1,2 @@
-void my_module_(void){}
+/* PGI Fortran wants my_module_ when calling any my_module symbol. */
+void my_module_(void) {}