summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 1de03ba..a7b3286 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -66,6 +66,10 @@
#include "H5api_adpt.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Version numbers */
#define H5_VERS_MAJOR 1 /* For major interface/format changes */
#define H5_VERS_MINOR 5 /* For minor interface/format changes */
@@ -174,10 +178,6 @@ typedef ssize_t hssize_t;
#endif
#define HADDR_MAX (HADDR_UNDEF-1)
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* Functions in H5.c */
H5_DLL herr_t H5open(void);
H5_DLL herr_t H5close(void);