Skip to content

Commit

Permalink
Merge pull request smarco#32 from smarco/fix_multiple_definitions
Browse files Browse the repository at this point in the history
Avoid multiple definitions of the `match_function_params`
  • Loading branch information
smarco authored Sep 5, 2022
2 parents a9eedba + facfc23 commit 4600d5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions tools/align_benchmark/align_benchmark_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@

#include "align_benchmark_params.h"

/*
* Match function
*/
match_function_params_t match_function_params;
/*
* Default parameters
*/
Expand Down
2 changes: 1 addition & 1 deletion tools/align_benchmark/align_benchmark_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ typedef struct {
char* text;
int text_length;
} match_function_params_t;
match_function_params_t match_function_params;
extern match_function_params_t match_function_params;

/*
* Align-benchmark Parameters
Expand Down

0 comments on commit 4600d5d

Please sign in to comment.