Skip to content

Commit

Permalink
avoid a multiply defined symbol in fedora 32 with the plus_callback
Browse files Browse the repository at this point in the history
  • Loading branch information
avsm committed Jul 26, 2020
1 parent a9ac054 commit 96700a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/clib/test_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ struct one_int { int i; };
struct one_int return_struct_by_value(void);
void matrix_mul(int, int, int, double *, double *, double *);
double *matrix_transpose(int, int, double *);
int (*plus_callback)(int);
extern int (*plus_callback)(int);
int sum_range_with_plus_callback(int, int);
typedef int callback_t(void);
void register_callback(callback_t *);
Expand Down

0 comments on commit 96700a9

Please sign in to comment.