Permalink
Browse files

renamed function to resolve name clash with gnutards

  • Loading branch information...
1 parent c166a6d commit e285ecd3fcd39eac2051ea7bccd5257c6dfb72ab @durbrow durbrow committed Apr 5, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/bam-loader/bam.c
View
@@ -3997,7 +3997,7 @@ static unsigned insert_B(unsigned const T, unsigned const G, unsigned const n, u
return n;
}
-static unsigned canonicalize(uint32_t cigar[], unsigned n)
+static unsigned canonicalizeCIGAR(uint32_t cigar[], unsigned n)
{
unsigned i;
@@ -4042,7 +4042,7 @@ static unsigned GetCGCigar(BAM_Alignment const *self, unsigned const N, uint32_t
memmove(cigar, getCigarBase(self), n * 4);
if (n > 1)
- n = canonicalize(cigar, n); /* just in case */
+ n = canonicalizeCIGAR(cigar, n); /* just in case */
for (i = 0, S = 0; i < gaps; ++i) {
unsigned const s = seg[2 * i + 0];

0 comments on commit e285ecd

Please sign in to comment.