[Openmp-commits] [openmp] r244899 - Remove unused KMP_SETVERSION macro

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Thu Aug 13 08:26:38 PDT 2015


Author: jlpeyton
Date: Thu Aug 13 10:26:38 2015
New Revision: 244899

URL: http://llvm.org/viewvc/llvm-project?rev=244899&view=rev
Log:
Remove unused KMP_SETVERSION macro

This macro and the small amount of code along with it are unused and
can be removed.  The macro is never defined in any build script or source file.

Modified:
    openmp/trunk/runtime/src/kmp.h
    openmp/trunk/runtime/src/kmp_global.c

Modified: openmp/trunk/runtime/src/kmp.h
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp.h?rev=244899&r1=244898&r2=244899&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp.h (original)
+++ openmp/trunk/runtime/src/kmp.h Thu Aug 13 10:26:38 2015
@@ -93,14 +93,6 @@ class kmp_stats_list;
 
 #define KMP_HANDLE_SIGNALS (KMP_OS_LINUX || KMP_OS_FREEBSD || KMP_OS_WINDOWS || KMP_OS_DARWIN)
 
-#ifdef KMP_SETVERSION
-/*  from factory/Include, to get VERSION_STRING embedded for 'what'  */
-#include "kaiconfig.h"
-#include "eye.h"
-#include "own.h"
-#include "setversion.h"
-#endif
-
 #include "kmp_wrapper_malloc.h"
 #if KMP_OS_UNIX
 # include <unistd.h>

Modified: openmp/trunk/runtime/src/kmp_global.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_global.c?rev=244899&r1=244898&r2=244899&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_global.c (original)
+++ openmp/trunk/runtime/src/kmp_global.c Thu Aug 13 10:26:38 2015
@@ -15,10 +15,6 @@
 
 #include "kmp.h"
 
-#ifdef KMP_SETVERSION
-char __kmp_setversion_string[] = VERSION_STRING;
-#endif
-
 kmp_key_t __kmp_gtid_threadprivate_key;
 
 kmp_cpuinfo_t   __kmp_cpuinfo = { 0 }; // Not initialized




More information about the Openmp-commits mailing list