Skip to content

Commit

Permalink
Fix linking error by making a inline function static
Browse files Browse the repository at this point in the history
See: bootchk/resynthesizer#100

Undefined symbols for architecture x86_64:
  "_swap_vector_elements", referenced from:
      _orderTargetPointsRandom in libresynthesizer.a(engine.c.o)
      _randomizeBandsTargetPoints in libresynthesizer.a(engine.c.o)
ld: symbol(s) not found for architecture x86_64
  • Loading branch information
61315 committed Feb 7, 2022
1 parent 0207f72 commit b6552b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resynthesizer/engineTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ get_center (


/* swap two elements of a point vector */
inline void
static inline void
swap_vector_elements(
pointVector vector,
guint size,
Expand Down

0 comments on commit b6552b2

Please sign in to comment.