Skip to content

Commit 4c63672

Browse files
authored
[OpenMP] Fix use of ompt_start_tool in ompd test. (llvm#97616)
1 parent 04a1a34 commit 4c63672

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openmp/libompd/test/ompt_plugin.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ static void ompt_finalize(ompt_data_t *tool_data) {}
127127

128128
// "This func will be invoked by OpenMP implementation, refer spec: 4.2.1"
129129
// NOLINTNEXTLINE
130-
static ompt_start_tool_result_t *ompt_start_tool(unsigned int omp_version,
131-
const char *runtime_version) {
130+
ompt_start_tool_result_t *ompt_start_tool(unsigned int omp_version,
131+
const char *runtime_version) {
132132
static ompt_start_tool_result_t ompt_start_tool_result = {
133133
&ompt_initialize, &ompt_finalize, {0}};
134134
return &ompt_start_tool_result;

0 commit comments

Comments
 (0)