summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_version.h
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/src/kmp_version.h')
-rw-r--r--openmp/runtime/src/kmp_version.h43
1 files changed, 22 insertions, 21 deletions
diff --git a/openmp/runtime/src/kmp_version.h b/openmp/runtime/src/kmp_version.h
index 212853b8e2b..05e52872f96 100644
--- a/openmp/runtime/src/kmp_version.h
+++ b/openmp/runtime/src/kmp_version.h
@@ -17,31 +17,32 @@
#define KMP_VERSION_H
#ifdef __cplusplus
- extern "C" {
+extern "C" {
#endif // __cplusplus
#ifndef KMP_VERSION_MAJOR
- #error KMP_VERSION_MAJOR macro is not defined.
+#error KMP_VERSION_MAJOR macro is not defined.
#endif
-#define KMP_VERSION_MINOR 0
-/*
- Using "magic" prefix in all the version strings is rather convenient to get static version info
- from binaries by using standard utilities "strings" and "grep", e. g.:
+#define KMP_VERSION_MINOR 0
+/* Using "magic" prefix in all the version strings is rather convenient to get
+ static version info from binaries by using standard utilities "strings" and
+ "grep", e. g.:
$ strings libomp.so | grep "@(#)"
- gives clean list of all version strings in the library. Leading zero helps to keep version
- string separate from printable characters which may occurs just before version string.
-*/
-#define KMP_VERSION_MAGIC_STR "\x00@(#) "
-#define KMP_VERSION_MAGIC_LEN 6 // Length of KMP_VERSION_MAGIC_STR.
-#define KMP_VERSION_PREF_STR "Intel(R) OMP "
-#define KMP_VERSION_PREFIX KMP_VERSION_MAGIC_STR KMP_VERSION_PREF_STR
+ gives clean list of all version strings in the library. Leading zero helps
+ to keep version string separate from printable characters which may occurs
+ just before version string. */
+#define KMP_VERSION_MAGIC_STR "\x00@(#) "
+#define KMP_VERSION_MAGIC_LEN 6 // Length of KMP_VERSION_MAGIC_STR.
+#define KMP_VERSION_PREF_STR "Intel(R) OMP "
+#define KMP_VERSION_PREFIX KMP_VERSION_MAGIC_STR KMP_VERSION_PREF_STR
/* declare all the version string constants for KMP_VERSION env. variable */
-extern int const __kmp_version_major;
-extern int const __kmp_version_minor;
-extern int const __kmp_version_build;
-extern int const __kmp_openmp_version;
-extern char const __kmp_copyright[]; // Old variable, kept for compatibility with ITC and ITP.
+extern int const __kmp_version_major;
+extern int const __kmp_version_minor;
+extern int const __kmp_version_build;
+extern int const __kmp_openmp_version;
+extern char const
+ __kmp_copyright[]; // Old variable, kept for compatibility with ITC and ITP.
extern char const __kmp_version_copyright[];
extern char const __kmp_version_lib_ver[];
extern char const __kmp_version_lib_type[];
@@ -58,11 +59,11 @@ extern char const __kmp_version_ftnstdcall[];
extern char const __kmp_version_ftncdecl[];
extern char const __kmp_version_ftnextra[];
-void __kmp_print_version_1( void );
-void __kmp_print_version_2( void );
+void __kmp_print_version_1(void);
+void __kmp_print_version_2(void);
#ifdef __cplusplus
- } // extern "C"
+} // extern "C"
#endif // __cplusplus
#endif /* KMP_VERSION_H */
OpenPOWER on IntegriCloud