summaryrefslogtreecommitdiff
blob: 3b6bd24028d60886312fe5177c6f7bdb54a05d55 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- lammps-30Jul16-original/lib/meam/fm_exp.c	2016-04-18 14:00:58.000000000 +0000
+++ lammps-30Jul16/lib/meam/fm_exp.c	2016-10-06 03:15:55.631053526 +0000
@@ -112,7 +112,7 @@
     return epart.f*x;
 }
 
-double fm_exp_(double *x)
+extern "C" double fm_exp_(double *x)
 {
 #if defined(__BYTE_ORDER__)
 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__