Skip to content

Commit

Permalink
Patch to scorep 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
afarah1 committed Apr 25, 2016
1 parent 199ba6a commit 8f28280
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/otf2/otf22paje.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ OTF2_CallbackCode otf22paje_global_def_location (void* userData, OTF2_LocationRe
OTF2_CallbackCode otf22paje_global_def_system_tree_node( void* userData, OTF2_SystemTreeNodeRef self, OTF2_StringRef name, OTF2_StringRef className, OTF2_SystemTreeNodeRef parent );
OTF2_CallbackCode otf22paje_global_def_system_tree_node_hostfile( void* userData, OTF2_SystemTreeNodeRef self, OTF2_StringRef name, OTF2_StringRef className, OTF2_SystemTreeNodeRef parent );

OTF2_CallbackCode otf22paje_global_def_system_tree_node_property( void* userData, OTF2_SystemTreeNodeRef systemTreeNode, OTF2_StringRef name, OTF2_StringRef value );
OTF2_CallbackCode otf22paje_global_def_system_tree_node_property(void *userData, unsigned int systemTreeNode, unsigned int ignore, unsigned char name, union OTF2_AttributeValue_union value);


OTF2_CallbackCode otf22paje_global_def_system_tree_node_domain( void* userData, OTF2_SystemTreeNodeRef systemTreeNode, OTF2_SystemTreeDomain systemTreeDomain );

Expand Down
2 changes: 1 addition & 1 deletion src/otf2/otf22paje_handlers.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ OTF2_CallbackCode otf22paje_global_def_system_tree_node (void *userData, OTF2_Sy
return OTF2_CALLBACK_SUCCESS;
}

OTF2_CallbackCode otf22paje_global_def_system_tree_node_property (void *userData, OTF2_SystemTreeNodeRef systemTreeNode, OTF2_StringRef name, OTF2_StringRef value)
OTF2_CallbackCode otf22paje_global_def_system_tree_node_property (void *userData, unsigned int systemTreeNode, unsigned int ignore, unsigned char name, union OTF2_AttributeValue_union value)
{
return OTF2_CALLBACK_SUCCESS;
}
Expand Down

1 comment on commit 8f28280

@afarah1
Copy link
Owner Author

@afarah1 afarah1 commented on 8f28280 Apr 25, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just looked at the compiler error msg and changed the parameter types accordingly. Since the function does nothing and is only called at the point of the error, it shouldn't make any difference. Notice, however, I added the resolved types instead of the OTF2 typedef wrappers. I also had to add a new parameter, which I called "ignore" because I don't know what it's used for but it's ignored like the others.

Please sign in to comment.