summaryrefslogtreecommitdiffhomepage
path: root/eigen/Eigen/src/misc/lapacke.h
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/Eigen/src/misc/lapacke.h')
-rw-r--r--eigen/Eigen/src/misc/lapacke.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/eigen/Eigen/src/misc/lapacke.h b/eigen/Eigen/src/misc/lapacke.h
index 3d8e24f..8c7e79b 100644
--- a/eigen/Eigen/src/misc/lapacke.h
+++ b/eigen/Eigen/src/misc/lapacke.h
@@ -43,6 +43,10 @@
#include "lapacke_config.h"
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#include <stdlib.h>
#ifndef lapack_int
@@ -104,11 +108,6 @@ lapack_complex_double lapack_make_complex_double( double re, double im );
#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
#ifndef LAPACKE_malloc
#define LAPACKE_malloc( size ) malloc( size )
#endif