Skip to content

Commit

Permalink
Modify VSSGetLeafNodesList() to take const char* for filename
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Montellese <eric.montellese@hologic.com>
  • Loading branch information
eric-hologic authored and erikbosch committed Oct 16, 2024
1 parent 9ee2b08 commit 9355620
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion binary/c_parser/cparserlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ int VSSSearchNodes(char* searchPath, long rootNode, int maxFound, searchData_t*
return context->numOfMatches;
}

int VSSGetLeafNodesList(long rootNode, char* listFname) {
int VSSGetLeafNodesList(long rootNode, const char* listFname) {
struct SearchContext_t searchContext;
struct SearchContext_t* context = &searchContext;
isGetLeafNodeList = true;
Expand Down
2 changes: 1 addition & 1 deletion binary/c_parser/cparserlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ typedef struct noScopeList_t {
long VSSReadTree(const char *filePath);
void VSSWriteTree(char* filePath, long rootHandle);
int VSSSearchNodes(char* searchPath, long rootNode, int maxFound, searchData_t* searchData, bool anyDepth, bool leafNodesOnly, int listSize, noScopeList_t* noScopeList, int* validation);
int VSSGetLeafNodesList(long rootNode, char* listFname);
int VSSGetLeafNodesList(long rootNode, const char* listFname);
int VSSGetUuidList(long rootNode, char* listFname);

long VSSgetParent(long nodeHandle);
Expand Down

0 comments on commit 9355620

Please sign in to comment.