summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libg2c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-05-01 22:22:42 +0000
committerobrien <obrien@FreeBSD.org>1999-05-01 22:22:42 +0000
commit0be16f9afe6a81074e41e2597576854c2738715f (patch)
tree926ed8493a472cde6d88040c18a8b0f46db3bf20 /gnu/lib/libg2c
parentc9af91f18b4f602078e93a652523abc2211177c6 (diff)
downloadFreeBSD-src-0be16f9afe6a81074e41e2597576854c2738715f.zip
FreeBSD-src-0be16f9afe6a81074e41e2597576854c2738715f.tar.gz
JMZ says:
Add an emply MAIN__() function. This avoid an unresolved reference error during link phase when using fortran subroutines with non-fortran 'main()'. Obtained from: src/lib/libF77/MAIN.c rev 1.1 by jmz
Diffstat (limited to 'gnu/lib/libg2c')
-rw-r--r--gnu/lib/libg2c/MAIN.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/lib/libg2c/MAIN.c b/gnu/lib/libg2c/MAIN.c
new file mode 100644
index 0000000..99b7114
--- /dev/null
+++ b/gnu/lib/libg2c/MAIN.c
@@ -0,0 +1 @@
+MAIN__(){}
OpenPOWER on IntegriCloud