Commit 6f7203d ("MEDIUM: pattern: add prune function") introduced an array of functions pat_prune_fcts[] but unfortunately declared it in pattern.h without marking it "extern", resulting in each file including it having its own copy.
6f7203d