aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/geodesic.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/geodesic.h b/src/geodesic.h
index 8454b222..a779c879 100644
--- a/src/geodesic.h
+++ b/src/geodesic.h
@@ -1,6 +1,11 @@
#ifndef lint
static char GEODESIC_H_ID[] = "@(#)geodesic.h 4.3 95/08/19 GIE REL";
#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern double dmstor();
struct geodesic {
double A;
@@ -33,3 +38,7 @@ void geod_set(int, char **);
void geod_for(void);
void geod_prefor(void);
void geod_inv(void);
+
+#ifdef __cplusplus
+}
+#endif